Terraform module to create a VPC Flow Log
Name | Version |
---|---|
terraform | >= 1.0.0 |
aws | >= 5.68.0 |
Name | Version |
---|---|
aws | >= 5.68.0 |
Name | Type |
---|---|
aws_caller_identity.this | data source |
aws_iam_policy_document.cloudwatch_policy | data source |
aws_iam_policy_document.cloudwatch_trust | data source |
aws_partition.this | data source |
aws_region.this | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
flow_log | Object of attributes for managing a Flow Log | object({ |
n/a | yes |
Name | Description |
---|---|
cloudwatch_log_group | Object of attributes for the CloudWatch Log Group |
flow_log | Object of attributes for the Flow Log |
iam_role | Object of attributes for the IAM Role used by the Flow Log |
Manual testing:
# Replace "xxx" with an actual AWS profile, then execute the integration tests.
export AWS_PROFILE=xxx
make terraform/pytest PYTEST_ARGS="-v --nomock"
For automated testing, PYTEST_ARGS is optional and no profile is needed:
make mockstack/up
make terraform/pytest PYTEST_ARGS="-v"
make mockstack/clean