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
Warning: Interpolation-only expressions are deprecated
on main.tf line 165, in module "example_dev":
165: records = ["${google_compute_global_address.ingress_static_ip.address}"]
Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.
Terraform Configuration
module"example_qa" {
source="terraform-google-modules/cloud-dns/google"version="~> 3.0.0"name="example-qa"project_id=module.project.project_iddomain="example-qa.example.com."type="public"recordsets=[
{
name ="XXXXXXX"
records = ["${google_compute_global_address.ingress_static_ip.address}"]
ttl =30
type ="A"
},
{
name ="XXXXXXX"
records = ["${google_compute_global_address.ingress_static_ip.address}"]
ttl =30
type ="A"
},
]
}
when we ran the terraform init, it is Warning with Interpolation-only expressions are deprecated .
reference path:-
dns_zones
gke_clusters
Observed behavior
Warning: Interpolation-only expressions are deprecated
on main.tf line 165, in module "example_dev":
165: records = ["${google_compute_global_address.ingress_static_ip.address}"]
Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.
Terraform Configuration
Terraform Version
Additional information
#182
The text was updated successfully, but these errors were encountered: