Add new `terraform` and `helmfile` commands @aknysh (#41)
what
- Add new
terraform
andhelmfile
commands - Terraform commands:
console
,show
helmfile
commands:template
,list
,status
,test
,write-values
why
- More native Terraform and
helmfile
command supported byatmos
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
>