File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292
9393 - name : Terraform Apply
9494 id : tf_apply
95- continue-on-error : true
9695 working-directory : utils/cicd
9796 run : terraform apply -input=false test.tfplan
9897
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ resource "aws_codebuild_project" "filmdrop_ui_codebuild" {
4848
4949 environment_variable {
5050 name = " CONTENT_BUCKET"
51- value = var . filmdrop_ui_bucket_name
51+ value = aws_s3_bucket . filmdrop_ui_source_config . bucket
5252 }
5353 }
5454
@@ -130,7 +130,7 @@ resource "random_id" "suffix" {
130130}
131131
132132resource "aws_s3_bucket" "filmdrop_ui_source_config" {
133- bucket = " filmdrop-ui-config -${ random_id . suffix . hex } "
133+ bucket = " ${ var . filmdrop_ui_bucket_name } -${ random_id . suffix . hex } "
134134 force_destroy = true
135135}
136136
Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ module "main" {
1717 vpc_id = module. vpc-data . vpc_id
1818 vpc_private_subnet_ids = module. vpc-data . private_subnet_ids
1919 vpc_security_group_ids = [module . vpc-data . security_group_id ]
20- filmdrop_ui_bucket_name = " filmdrop-ui-content "
20+ filmdrop_ui_bucket_name = " filmdrop-ui-config "
2121}
You can’t perform that action at this time.
0 commit comments