Skip to content

Commit

Permalink
chore: tf formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ggemre committed Apr 10, 2024
1 parent dfecd58 commit a79c22c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions iac/modules/app/assembler.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
module "assembler" {
source = "github.com/byu-oit/terraform-aws-scheduled-fargate?ref=v4.0.0"

app_name = "${var.cdn_name}-${var.env}-assembler"
app_name = "${var.cdn_name}-${var.env}-assembler"
task_cpu = 4096
task_memory = 8192

primary_container_definition = {
name = "${var.cdn_name}-${var.env}-assembler"
image = "${data.aws_ecr_repository.assembler_ecr_repo.repository_url}:${var.image_tag}" # FIXME: should name be used?
environment_variables = { # TODO: Fill in missing refs
name = "${var.cdn_name}-${var.env}-assembler"
image = "${data.aws_ecr_repository.assembler_ecr_repo.repository_url}:${var.image_tag}" # FIXME: should name be used?
environment_variables = { # TODO: Fill in missing refs
"DESTINATION_S3_BUCKET" = aws_s3_bucket_website_configuration.CdnContentBucket.id,
"BUILD_ENV" = var.env,
"CDN_HOST" = "${var.cdn_name}-${var.env}.${local.root_dns_name}",
Expand Down
4 changes: 2 additions & 2 deletions iac/modules/app/content-bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ resource "aws_s3_bucket_versioning" "bucket_versioning" {

resource "aws_s3_bucket_policy" "allow_builder_access" {
depends_on = [aws_s3_bucket_ownership_controls.content_bucket]
bucket = aws_s3_bucket.CdnContentBucket.id
policy = data.aws_iam_policy_document.CdnContentBucketAllowBuilderUpdates.json
bucket = aws_s3_bucket.CdnContentBucket.id
policy = data.aws_iam_policy_document.CdnContentBucketAllowBuilderUpdates.json
}

data "aws_iam_policy_document" "CdnContentBucketAllowBuilderUpdates" {
Expand Down

0 comments on commit a79c22c

Please sign in to comment.