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
resource"aws_network_interface""in_drone_ci_ntw_iface" {
subnet_id="${data.terraform_remote_state.network.vpc_zone_identifier[0]}"
}
resource"aws_launch_template""rancher_hosts_ci_template" {
... more code here
network_interfaces {
associate_public_ip_address=falsenetwork_interface_id="${aws_network_interface.in_drone_ci_ntw_iface.id}"# this was the apply that generated the problemipv4_addresses=["${aws_network_interface.in_drone_ci_ntw_iface.*.private_ips}"]
}
}
aws_launch_template.rancher_hosts_ci: aws_launch_template.rancher_hosts_ci: Invalid address to set: []string{"network_interfaces", "0", "ipv4_addresses"}
Steps to Reproduce
First I run terraform apply to try to link the ENI in the launch template using ipv4_addresses attribute
ipv4_addresses = ["${aws_network_interface.in_drone_ci_ntw_iface.*.private_ips}"]
and from this point, cannot refresh the state any more.
References
looks like #5108
but with the launch_template and ipv4_adresses
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 3, 2020
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Actual Behavior
Error: Error refreshing state: 1 error(s) occurred:
Steps to Reproduce
First I run terraform apply to try to link the ENI in the launch template using ipv4_addresses attribute
ipv4_addresses = ["${aws_network_interface.in_drone_ci_ntw_iface.*.private_ips}"]
and from this point, cannot refresh the state any more.
References
looks like #5108
but with the launch_template and ipv4_adresses
The text was updated successfully, but these errors were encountered: