CI-CD debugging, opentofu/setup-tofu action, tofu state pull, grep attributes for kv pairs part II
Some checks failed
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 36s
Some checks failed
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 36s
This commit is contained in:
parent
d2a8c40a7c
commit
90a6a55b40
@ -48,7 +48,7 @@ jobs:
|
||||
tofu import module.main_vpc_subnet.linode_vpc.eqit_vpc ${{ env.EQIT_VPC }}
|
||||
tofu import module.main_vpc_subnet.linode_vpc_subnet.eqit_vpc_subnet "${{ env.EQIT_VPC }}, ${{ env.EQIT_VPC_SUBNET }}"
|
||||
- id: plan
|
||||
run: "cd tofu;for id in $(tofu state pull | jq '.resources[1].instances[0].attributes.linodes[] | grep -e 'id:' -e 'label:'"
|
||||
run: "cd tofu;for id in $(tofu state pull | jq '.resources[1].instances[0].attributes.linodes[] | keys'"
|
||||
|
||||
## jq '.resources[1].instances[0].attributes.linodes[].id'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user