Skip to content

Commit

Permalink
fix: add AWS integration as needed for state acces
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowiem committed Dec 23, 2024
1 parent 7002eb6 commit 7c2e217
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/complete/components/spacelift-automation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ module "automation" {

root_modules_path = var.root_modules_path
all_root_modules_enabled = var.all_root_modules_enabled

aws_integration_id = var.aws_integration_id
aws_integration_enabled = true
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ github_enterprise = {
repository = "terraform-spacelift-automation"
root_modules_path = "../../../../examples/complete/components"
all_root_modules_enabled = true
aws_integration_id = "01JEC7ZACVKHTSVY4NF8QNZVVB"
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
variable "aws_integration_id" {
type = string
description = "ID of the AWS integration to attach."
}

variable "branch" {
type = string
description = "Specify which branch to use within the infrastructure repository."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ module "automation" {
repository = "terraform-spacelift-automation"
root_modules_path = "../../../../examples/single-instance/root-modules"
all_root_modules_enabled = true
aws_integration_enabled = false

aws_integration_id = "01JEC7ZACVKHTSVY4NF8QNZVVB"
aws_integration_enabled = true

root_module_structure = "SingleInstance"
}

0 comments on commit 7c2e217

Please sign in to comment.