Created
September 13, 2025 08:40
-
-
Save nivleshc/e5a72cc0e8142a69b07f3b9d8b3b58cc to your computer and use it in GitHub Desktop.
This gist contains code from the file service-catalog-product-s3-bucket.tf, which is part of the blog-aws-service-catalog-for-terraform-products repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource "aws_s3_bucket_object" "product_s3_bucket_cfn_template" { | |
| bucket = data.aws_s3_bucket.artifacts_s3_bucket.id | |
| key = "${var.artifacts_s3_bucket_key}/s3-bucket/product-s3-bucket.yaml" | |
| content = templatefile("${path.module}/cfn/product-s3-bucket.yaml", { | |
| central_lambda_function_arn = var.central_lambda_function_arn | |
| }) | |
| etag = filemd5("${path.module}/cfn/product-s3-bucket.yaml") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment