-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported argument locals, on terraform plan #7743
Comments
Yees, i use wrong version terraform)) Please write on main page - https://github.com/kubernetes/kops/blob/master/docs/terraform.md |
Hey guys, |
This is being worked on in #7052 For now one possible workaround:
DetailsIf kops is creating the default route you'll need to change the resource name to be terraform-12 compliant: resource "aws_route" "0-0-0-0--0" {
route_table_id = "${aws_route_table...}"
destination_cidr_block = "0.0.0.0/0"
gateway_id = "${aws_internet_gateway...}"
} => resource "aws_route" "default-0-0-0-0--0" {
route_table_id = "${aws_route_table...}"
destination_cidr_block = "0.0.0.0/0"
gateway_id = "${aws_internet_gateway...}"
} Same for any additional CIDR-blocks: resource "aws_vpc_ipv4_cidr_block_association" "10-1-0-0--16" {
vpc_id = "${aws_vpc....}"
cidr_block = "10.1.0.0/16"
} => resource "aws_vpc_ipv4_cidr_block_association" "vpc-cidr-block-10-1-0-0--16" {
vpc_id = "${aws_vpc....}"
cidr_block = "10.1.0.0/16"
} |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
please check this one #7052 (comment) |
Terraform support has been added in #8825 and will be a part of the next Kops 1.18 release |
@rifelpet: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
kops version 1.14.0
terraform version 0.12.9
cloud provider aws
kubectl version 1.15.0
After commands
kops update cluster
--out=.
--target=terraform
--state ${STATE}
--name ${CLUSTER_NAME}
kops generate file kubernetes.tf without errors and warnings , next step
terraform init - OK
terraform plan - generate next errors:
And many errors with type Attribute redefined
Please help, maybe i use wrong version terraform? What version terraform need?
The text was updated successfully, but these errors were encountered: