Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions atlantis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 3
projects:
- name: prod
dir: ./terraform/aws/alexgregorydotio-prod
terraform_version: 1.4.4
workflow: terragrunt
autoplan:
when_modified: # relative to dir defined above
- "../../modules/aws/**/*.tf"
- "**/*.tf"
- "**/*.hcl"

workflows:
terragrunt:
plan:
steps:
- run: terragrunt run-all plan -input=false

apply:
steps:
- run: terragrunt run-all apply -input=false
5 changes: 5 additions & 0 deletions repos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:

- id: /.*/
allowed_overrides: [workflow]
allow_custom_workflows: true
2 changes: 1 addition & 1 deletion terraform/modules/aws/s3-bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ variable "organisation" {
}

resource "aws_s3_bucket" "this" {
bucket = "${var.organisation}-${uuid()}"
bucket = "${var.organisation}-${uuid()}-bucket"
}

output "bucket_name" {
Expand Down