Releases: cloudposse/terraform-yaml-stack-config
Releases · cloudposse/terraform-yaml-stack-config
v0.15.3
v0.15.2
🤖 Automatic Updates
Update README.md and docs @cloudpossebot (#24)
what
This is an auto-generated PR that updates the README.md and docs
why
To have most recent changes of README.md and doc from origin templates
v0.15.1
🚀 Enhancements
Use latest `terraform-provider-utils` provider. Add `process_component_stack_deps` variable. Add `imports` and `stacks` outputs @aknysh (#21)
what
- Use latest
terraform-provider-utils
- Add
process_component_stack_deps
variable - Add
imports
andstacks
outputs
why
- Use new features from the latest version of the provider
imports
attribute shows all imported stacks for the current stack - can be used in CI/CD pipelines to determine stack dependenciesstacks
attribute shows all the stacks the component (and its base component, if present) is declared in - can be used in CI/CD pipelines (e.g. Spacelift) to determine all stacks that the component depends on,
and to provision triggers for all the dependencies (once any of the stack config files changes, the component's job will be triggered)
references
[remote-state] ignore `enabled`, allow `bypass` @Nuru (#22)
what
- [remote-state] ignore
enabled
- [remote-state] allow
bypass
allowbypass
why
- Modules that use
remote-state
usually need it to work even when the module itself is disabled - Modules that really know what they are doing need a replacement for
enabled
to prevent the lookup of the remote state
🐛 Bug Fixes
v0.15.0
Known bug causes plans to fail when using remote-state
, bug fix on the way.
Use latest `terraform-provider-utils` provider. Add `process_component_stack_deps` variable. Add `imports` and `stacks` outputs @aknysh (#21)
what
- Use latest
terraform-provider-utils
- Add
process_component_stack_deps
variable - Add
imports
andstacks
outputs
why
- Use new features from the latest version of the provider
imports
attribute shows all imported stacks for the current stack - can be used in CI/CD pipelines to determine stack dependenciesstacks
attribute shows all the stacks the component (and its base component, if present) is declared in - can be used in CI/CD pipelines (e.g. Spacelift) to determine all stacks that the component depends on,
and to provision triggers for all the dependencies (once any of the stack config files changes, the component's job will be triggered)
references
[remote-state] ignore `enabled`, allow `bypass` @Nuru (#22)
what
- [remote-state] ignore
enabled
- [remote-state] allow
bypass
allowbypass
why
- Modules that use
remote-state
usually need it to work even when the module itself is disabled - Modules that really know what they are doing need a replacement for
enabled
to prevent the lookup of the remote state
v0.14.0
v0.13.0
v0.12.0
Remove `count` from stack config data source. Always set `enabled=true` on the `backend` submodule @aknysh (#16)
what
- Remove
count
from stack config data source - Always set
enabled=true
on thebackend
submodule
why
count
on the data source throws the Terraform "count cannot be computed" error when used from a top-level module which itself usescount
on other resources- Always enable the
backend
module even ifmodule.this.context
setsenabled=false
, because we always need to read the remote state (it needsenvironment
andstage
from the context) even if a top-level calling module is disabled
(if we want to setenabled=false
on the top-level modules and then useterraform apply
to destroy it)
v0.11.0
We do not recommend using this release yet as it may introduce problems due to use of count
on data
sources.
v0.10.1
🤖 Automatic Updates
Update README.md and docs @cloudpossebot (#14)
what
This is an auto-generated PR that updates the README.md and docs
why
To have most recent changes of README.md and doc from origin templates
v0.10.0
Add `workspace` to terraform outputs @aknysh (#13)
what
- Add
workspace
to terraform outputs
why
- Calculate Terraform workspace for all Terraform components taking into account the base component using the
component
attribute - Simplify calling modules
"aurora-postgres" = {
"backend" = {
"acl" = "bucket-owner-full-control"
"bucket" = "eg-uw2-root-tfstate"
"dynamodb_table" = "eg-uw2-root-tfstate-lock"
"encrypt" = true
"key" = "terraform.tfstate"
"region" = "us-west-2"
"role_arn" = "arn:aws:iam::XXXXXXXXXXXX:role/eg-gbl-root-terraform"
"workspace_key_prefix" = "aurora-postgres"
}
"backend_type" = "s3"
"component" = null
"env" = {
"ENV_TEST_1" = "test1"
"ENV_TEST_2" = "test2"
"ENV_TEST_3" = "test3"
"ENV_TEST_4" = "test4"
"ENV_TEST_5" = "test5"
"ENV_TEST_6" = "test6"
"ENV_TEST_7" = "test7"
}
"settings" = {
"spacelift" = {
"autodeploy" = false
"branch" = "test3"
"triggers" = [
"4",
"5",
"6",
]
"workspace_enabled" = false
}
"version" = 1
}
"vars" = {
"cluster_size" = 2
"environment" = "uw2"
"instance_type" = "db.r4.large"
"namespace" = "eg"
"region" = "us-west-2"
"stage" = "uat"
}
"workspace" = "uw2-uat"
}
"aurora-postgres-2" = {
"backend" = {
"acl" = "bucket-owner-full-control"
"bucket" = "eg-uw2-root-tfstate"
"dynamodb_table" = "eg-uw2-root-tfstate-lock"
"encrypt" = true
"key" = "terraform.tfstate"
"region" = "us-west-2"
"role_arn" = "arn:aws:iam::XXXXXXXXXXXX:role/eg-gbl-root-terraform"
"workspace_key_prefix" = "aurora-postgres"
}
"backend_type" = "s3"
"component" = "aurora-postgres"
"env" = {
"ENV_TEST_1" = "test1_override2"
"ENV_TEST_2" = "test2_override2"
"ENV_TEST_3" = "test3"
"ENV_TEST_4" = "test4"
"ENV_TEST_5" = "test5"
"ENV_TEST_6" = "test6"
"ENV_TEST_7" = "test7"
"ENV_TEST_8" = "test8"
}
"settings" = {
"spacelift" = {
"autodeploy" = true
"branch" = "test4"
"triggers" = [
"7",
"8",
"9",
]
"workspace_enabled" = true
}
"version" = 2
}
"vars" = {
"cluster_size" = 3
"environment" = "uw2"
"instance_type" = "db.r4.xlarge"
"namespace" = "eg"
"region" = "us-west-2"
"stage" = "uat"
}
"workspace" = "uw2-uat-aurora-postgres-2"
}