Skip to content
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

bug: terraform plan fails with empty zone_id #2

Closed
jirihofman opened this issue Jan 26, 2024 · 1 comment
Closed

bug: terraform plan fails with empty zone_id #2

jirihofman opened this issue Jan 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jirihofman
Copy link
Member

Summary

No response

Issue Type

Bug Report

Terraform Version

terraform --version
Terraform v1.7.0
on darwin_amd64
+ provider registry.terraform.io/cloudposse/template v2.2.0
+ provider registry.terraform.io/cloudposse/utils v1.15.0
+ provider registry.terraform.io/hashicorp/aws v5.33.0
+ provider registry.terraform.io/hashicorp/http v3.4.1
+ provider registry.terraform.io/hashicorp/local v2.4.1
+ provider registry.terraform.io/hashicorp/null v3.2.2
+ provider registry.terraform.io/hashicorp/random v3.6.0
+ provider registry.terraform.io/hashicorp/time v0.10.0

Your version of Terraform is out of date! The latest version
is 1.7.1. You can update by downloading from https://www.terraform.io/downloads.html

Steps to Reproduce

appmixer plan
# then enter `appmixer.co` when prompted for "Root DNS name, must be applicable to route53 zone (zone_id)"

Not sure what values are supposed to be there.

Expected Results

No error

Actual Results

...
...
...


│ Warning: Argument is deprecated

│   with module.document_db_ssm_password.aws_ssm_parameter.default["/cio-dev-appmixer/documentdb/master_password"],
│   on .terraform/modules/document_db_ssm_password/main.tf line 22, in resource "aws_ssm_parameter" "default":
│   22:   overwrite       = each.value.overwrite

│ this attribute has been deprecated

│ (and 6 more similar warnings elsewhere)


│ Error: zone_id must not be empty, got 

│   with aws_route53_record.alb[0],
│   on route53.tf line 9, in resource "aws_route53_record" "alb":
│    9:   zone_id = var.zone_id



│ Error: zone_id must not be empty, got 

│   with aws_route53_record.cert_alb["*.appmixer.co"],
│   on route53.tf line 42, in resource "aws_route53_record" "cert_alb":
│   42:   zone_id         = var.zone_id
@jirihofman jirihofman added the bug Something isn't working label Jan 26, 2024
@Riqardos
Copy link
Contributor

Fixed in PR

@jirihofman jirihofman mentioned this issue Jan 29, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants