-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform multi-state #472
Conversation
This is necessary for generate tf files in state folder.
This function returns all terraform states.
This command build, push and deploy all apps
Codecov Report
@@ Coverage Diff @@
## main #472 +/- ##
==========================================
- Coverage 30.49% 29.87% -0.63%
==========================================
Files 59 60 +1
Lines 7351 7584 +233
==========================================
+ Hits 2242 2266 +24
- Misses 4905 5108 +203
- Partials 204 210 +6
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work!
Let's make sure we call new sub-infras as a "stack": vpc stack, api stack, etc. They store states in s3.
Also, please let's add a tag to backend.tf called stack (next to namespace), if we are using multiple stacks.
Thansks
examples/multistate-monorepo/.ize/env/testnut/api/terraform.tfvars
Outdated
Show resolved
Hide resolved
examples/multistate-monorepo/.ize/env/testnut/infra/terraform.tfvars
Outdated
Show resolved
Hide resolved
examples/multistate-monorepo/.ize/env/testnut/vpc/terraform.tfvars
Outdated
Show resolved
Hide resolved
When `explain` flag is set, the command shows an alternative to bash that will do exactly what the ize command does
…`ize down infra` commands
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Config file location
- Please show a test when
[terraform.infra]
section is not present, and only[terraform.api]
and[terraform.vpc]
exists
…un-terraform-init IZE-599 ize infra down doesnt run terraform init
…ain-bash-alternative-shown
…sh-alternative-shown IZE-516 ize up infra explain bash alternative shown
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for a good work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thank you @psihachina
Changelog:
ize uo apps
ize up infra
to up all terraform statesTests: