Skip to content
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

Add new terraform and helmfile commands #41

Merged
merged 7 commits into from
Jun 1, 2021
Merged

Add new terraform and helmfile commands #41

merged 7 commits into from
Jun 1, 2021

Conversation

aknysh
Copy link
Member

@aknysh aknysh commented Jun 1, 2021

what

  • Add new terraform and helmfile commands
  • Terraform commands: console, show
  • helmfile commands: template, list, status, test, write-values

why

  • More native Terraform and helmfile command supported by atmos

references

test

 √ . example ⨠ atmos terraform console vpc -s ue2-dev
{"cidr_block":"10.100.0.0/18","environment":"ue2","namespace":"eg","region":"us-east-2","stage":"dev","test-map":{"a":"a3","atr":{"atr1":"1-1","atr2":"2-3","atr3":3,"atr4":4,"list":["1b"]},"atr-2":{"atr1":1,"atr2":2},"b":"b2","c":"c1","d":"d3","e":"e3","g":"g1","list":[4,5,6],"list2":[1,2,3]}}
Initializing modules...
Downloading git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=tags/0.39.1 for subnets...
- subnets in .terraform/modules/subnets
Downloading cloudposse/label/null 0.24.1 for subnets.nat_instance_label...
- subnets.nat_instance_label in .terraform/modules/subnets.nat_instance_label
Downloading cloudposse/label/null 0.24.1 for subnets.nat_label...
- subnets.nat_label in .terraform/modules/subnets.nat_label
Downloading cloudposse/label/null 0.24.1 for subnets.private_label...
- subnets.private_label in .terraform/modules/subnets.private_label

Initializing the backend...

Terraform has been successfully initialized!

Workspace "ue2-dev" doesn't exist.

You can create this workspace with the "new" subcommand.
Created and switched to workspace "ue2-dev"!

You're now on a new, empty workspace. Workspaces isolate their state,
so if you run "terraform plan" Terraform will not see any existing state
for this configuration.
> 1 + 1
2
>

Nuru
Nuru previously requested changes Jun 1, 2021
Copy link
Sponsor Contributor

@Nuru Nuru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

terraform console should be interactive by default

atmos/modules/terraform/terraform-console.variant Outdated Show resolved Hide resolved
Co-authored-by: Nuru <Nuru@users.noreply.github.com>
@aknysh aknysh requested a review from Nuru June 1, 2021 21:58
@aknysh aknysh dismissed Nuru’s stale review June 1, 2021 23:08

comments addressed

@aknysh aknysh merged commit a43e1af into master Jun 1, 2021
@aknysh aknysh deleted the add-commands branch June 1, 2021 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants