generated from masterpointio/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from masterpointio/fix/upstream-customizations
fix: support TF default workspace, more attributes + fix drift detection schedule
- Loading branch information
Showing
7 changed files
with
144 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
stack_settings: | ||
manage_state: true | ||
description: This stack generates random pet names | ||
labels: | ||
- common_label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
stack_settings: | ||
manage_state: true | ||
labels: | ||
- stack_specific_label | ||
default_tf_workspace_enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
output "spacelift_stacks" { | ||
description = <<-EOT | ||
A map of Spacelift stacks with selected attributes. | ||
To reduce the risk of accidentally exporting sensitive data, only a subset of attributes is exported. | ||
EOT | ||
value = { | ||
for name, stack in spacelift_stack.default : name => { | ||
id = stack.id | ||
labels = stack.labels | ||
autodeploy = stack.autodeploy | ||
administrative = stack.administrative | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters