Skip to content

Commit

Permalink
Update Terraform cloudposse/module-artifact/external to v0.7.0 (#30)
Browse files Browse the repository at this point in the history
* Update READMEs and module version

* Remove region from S3 bucket creation
  • Loading branch information
htplbc authored Feb 16, 2021
1 parent 7d56c34 commit 9d3789c
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 4 deletions.
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,35 @@ Available targets:
|------|---------|
| aws | >= 2.0 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| artifact | cloudposse/module-artifact/external | 0.7.0 |
| this | cloudposse/label/null | 0.24.1 |

## Resources

| Name |
|------|
| [aws_caller_identity](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/data-sources/caller_identity) |
| [aws_iam_policy](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/iam_policy) |
| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/data-sources/iam_policy_document) |
| [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/iam_role) |
| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/iam_role_policy_attachment) |
| [aws_lambda_alias](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/lambda_alias) |
| [aws_lambda_function](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/lambda_function) |
| [aws_lambda_permission](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/lambda_permission) |
| [aws_route53_record](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/route53_record) |
| [aws_route53_zone](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/data-sources/route53_zone) |
| [aws_s3_bucket](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/s3_bucket) |
| [aws_s3_bucket_policy](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/s3_bucket_policy) |
| [aws_ses_active_receipt_rule_set](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_active_receipt_rule_set) |
| [aws_ses_domain_identity](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_domain_identity) |
| [aws_ses_domain_identity_verification](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_domain_identity_verification) |
| [aws_ses_receipt_rule](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_receipt_rule) |
| [aws_ses_receipt_rule_set](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_receipt_rule_set) |

## Inputs

| Name | Description | Type | Default | Required |
Expand Down Expand Up @@ -252,7 +281,6 @@ Available targets:
| ses\_domain\_identity\_verification\_arn | The ARN of the domain identity |
| ses\_receipt\_rule\_name | The name of the SES receipt rule |
| ses\_receipt\_rule\_set\_name | The name of the SES receipt rule set |

<!-- markdownlint-restore -->


Expand Down
30 changes: 29 additions & 1 deletion docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,35 @@
|------|---------|
| aws | >= 2.0 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| artifact | cloudposse/module-artifact/external | 0.7.0 |
| this | cloudposse/label/null | 0.24.1 |

## Resources

| Name |
|------|
| [aws_caller_identity](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/data-sources/caller_identity) |
| [aws_iam_policy](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/iam_policy) |
| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/data-sources/iam_policy_document) |
| [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/iam_role) |
| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/iam_role_policy_attachment) |
| [aws_lambda_alias](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/lambda_alias) |
| [aws_lambda_function](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/lambda_function) |
| [aws_lambda_permission](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/lambda_permission) |
| [aws_route53_record](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/route53_record) |
| [aws_route53_zone](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/data-sources/route53_zone) |
| [aws_s3_bucket](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/s3_bucket) |
| [aws_s3_bucket_policy](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/s3_bucket_policy) |
| [aws_ses_active_receipt_rule_set](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_active_receipt_rule_set) |
| [aws_ses_domain_identity](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_domain_identity) |
| [aws_ses_domain_identity_verification](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_domain_identity_verification) |
| [aws_ses_receipt_rule](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_receipt_rule) |
| [aws_ses_receipt_rule_set](https://registry.terraform.io/providers/hashicorp/aws/2.0/docs/resources/ses_receipt_rule_set) |

## Inputs

| Name | Description | Type | Default | Required |
Expand Down Expand Up @@ -68,5 +97,4 @@
| ses\_domain\_identity\_verification\_arn | The ARN of the domain identity |
| ses\_receipt\_rule\_name | The name of the SES receipt rule |
| ses\_receipt\_rule\_set\_name | The name of the SES receipt rule set |

<!-- markdownlint-restore -->
2 changes: 1 addition & 1 deletion lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ resource "aws_iam_role_policy_attachment" "lambda" {

module "artifact" {
source = "cloudposse/module-artifact/external"
version = "0.4.0"
version = "0.7.0"
filename = var.artifact_filename
module_name = "terraform-aws-ses-lambda-forwarder"
module_path = path.module
Expand Down
1 change: 0 additions & 1 deletion s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ resource "aws_s3_bucket" "default" {
#bridgecrew:skip=BC_AWS_S3_14:Skipping `Ensure all data stored in the S3 bucket is securely encrypted at rest` check until bridgecrew will support dynamic blocks (https://github.com/bridgecrewio/checkov/issues/776).
#bridgecrew:skip=CKV_AWS_52:Skipping `Ensure S3 bucket has MFA delete enabled` due to issue in terraform (https://github.com/hashicorp/terraform-provider-aws/issues/629).
bucket = module.this.id
region = var.region
force_destroy = true

versioning {
Expand Down

0 comments on commit 9d3789c

Please sign in to comment.