diff --git a/modules/codebuild/main.tf b/modules/codebuild/main.tf index f50a412..1fd4903 100644 --- a/modules/codebuild/main.tf +++ b/modules/codebuild/main.tf @@ -1,10 +1,18 @@ resource "aws_s3_bucket" "artifacts" { - bucket = "cloudcasts-${var.infra_env}-artifacts" + bucket = "cloudcasts-artifacts" acl = "private" + + tags = { + Name = "cloudcasts - Artifacts Bucket" + Environment = var.infra_env + Project = "cloudcasts" + Role = "build" + ManagedBy = "terraform" + } } resource "aws_iam_role" "this" { - name = "cloudcasts-${var.infra_env}-codebuild-role" + name = "cloudcasts-codebuild-role" assume_role_policy = <