Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data "terraform_remote_state" "stack" {
- backend = "local"
- config {
- path = "terraform.tfstate"
- }
- }
- output "diditwork" {
- value = "${data.terraform_remote_state.stack.aws_autoscaling_group.main.id}"
- }
- {
- "version": 3,
- "terraform_version": "0.9.3",
- "serial": 14,
- "lineage": "dc16a61f-72dd-435b-ba3f-5e36e14aace2",
- "modules": [
- {
- "path": [
- "root"
- ],
- "outputs": {},
- "resources": {
- "aws_autoscaling_group.main": {
- "type": "aws_autoscaling_group",
- "depends_on": [
- "aws_launch_configuration.lc"
- ],
- "primary": {
- "id": "djin-sample-asg-stag",
- "attributes": {
- "arn": "arn:aws:autoscaling:us-east-1:174120285419:autoScalingGroup:04c470fa-45f8-4711-aa31-b3ede40d6…
Add Comment
Please, Sign In to add comment