Skip to content

Validation warnings on AKS content #32

Description

@bear454
Warning: Interpolation-only expressions are deprecated

  on external-dns.tf line 18, in resource "helm_release" "external-dns":
  18:         value = "${kubernetes_secret.azure_dns_sp_creds.metadata.0.name}"

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.

Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.

(and 25 more similar warnings elsewhere)


Warning: Quoted references are deprecated

  on external-dns.tf line 40, in resource "helm_release" "external-dns":
  40:     depends_on = ["kubernetes_cluster_role_binding.tiller"]

In this context, references are expected literally rather than in quotes.
Terraform 0.11 and earlier required quotes, but quoted references are now
deprecated and will be removed in a future version of Terraform. Remove the
quotes surrounding this reference to silence this warning.

(and 3 more similar warnings elsewhere)


Warning: Quoted type constraints are deprecated

  on variables.tf line 2, in variable "az_resource_group":
   2:     type = "string"

Terraform 0.11 and earlier required type constraints to be given in quotes,
but that form is now deprecated and will be removed in a future version of
Terraform. To silence this warning, remove the quotes around "string".

(and 9 more similar warnings elsewhere)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions