You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Error running plan: 1 error(s) occurred:
* module.masters.aws_autoscaling_group.masters: 1 error(s) occurred:
* module.masters.aws_autoscaling_group.masters: Resource 'aws_launch_configuration.master' not found for variable 'aws_launch_configuration.master.name'
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
Important Factoids
The same code worked a few days ago with the same version of TF 0.10.6 and aws provider 1.11.0. What changed in the last few days? I tried using aws provider 1.13.0 but Terraform crashes with below error which I believe was fixed in #3962 but unfortunately that is not the case.
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
github-actionsbot
added
the
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
label
Mar 27, 2020
Terraform Version
0.10.6
AWS Provider Version
Issue appears on both aws provider
1.11
&1.13
Affected Resource(s)
aws_launch_configuration
aws_autoscaling_group
Terraform Configuration Files
Debug Output
Expected Behavior
What should have happened?
A successful plan indicating the below resources to add:
module.masters.aws_launch_configuration.master
id:
associate_public_ip_address: "false"
ebs_block_device.#:
ebs_optimized:
enable_monitoring: "true"
iam_instance_profile: "master-aws-use1-xxxx-xxxx"
image_id: "ami-xxxx"
instance_type: "m4.xlarge"
key_name: "aws-use1-xxxx-xxxx"
name:
name_prefix: "master-aws-use1-xxxx-xxxx"
root_block_device.#: "1"
root_block_device.0.delete_on_termination: "true"
root_block_device.0.iops:
root_block_device.0.volume_size: "20"
root_block_device.0.volume_type: "gp2"
security_groups.#:
user_data: "a529126e049c3263f29b00637cd24eb1775c5d8e"
module.masters.aws_autoscaling_group.masters
id:
arn:
default_cooldown: "6"
desired_capacity: "3"
force_delete: "true"
health_check_grace_period: "3"
health_check_type: "EC2"
launch_configuration: "${aws_launch_configuration.master.name}"
load_balancers.#:
max_size: "3"
metrics_granularity: "1Minute"
min_size: "3"
name: "master-aws-use1-xxxx-xxxx"
protect_from_scale_in: "false"
target_group_arns.#:
vpc_zone_identifier.#: "4"
vpc_zone_identifier.1003057897: "subnet-xxxxxx"
vpc_zone_identifier.2931960226: "subnet-xxxxxx"
vpc_zone_identifier.3016417446: "subnet-xxxxxx"
vpc_zone_identifier.3107657178: "subnet-xxxxxx"
wait_for_capacity_timeout: "10m"
Actual Behavior
What actually happened?
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform plan
Important Factoids
The same code worked a few days ago with the same version of TF
0.10.6
and aws provider1.11.0
. What changed in the last few days? I tried using aws provider1.13.0
but Terraform crashes with below error which I believe was fixed in #3962 but unfortunately that is not the case.github.com/terraform-providers/terraform-provider-aws/aws.flattenAwsLbTargetGroupResource(0xc422242310, 0x262f260, 0xc42019ca00, 0xc42115c360, 0x0, 0xc422290b30)
References
The text was updated successfully, but these errors were encountered: