Created
July 11, 2021 06:30
-
-
Save podhmo/bad4112143ee95556edaf3b17d296ac2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
locals { | |
person = { | |
name = "foo" | |
age = 20 | |
} | |
} | |
output "config" { | |
value = { | |
person = local.person | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: | |
terraform init | |
terraform validate | |
terraform apply -auto-approve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 4, | |
"terraform_version": "1.0.2", | |
"serial": 1, | |
"lineage": "f8245285-8f6b-c9dd-174f-3132a2198c08", | |
"outputs": { | |
"config": { | |
"value": { | |
"person": { | |
"age": 20, | |
"name": "foo" | |
} | |
}, | |
"type": [ | |
"object", | |
{ | |
"person": [ | |
"object", | |
{ | |
"age": "number", | |
"name": "string" | |
} | |
] | |
} | |
] | |
} | |
}, | |
"resources": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment