Skip to content

dns modue fails when domain starts with a number #199

@sumerion

Description

@sumerion

Hi,

There is a naming convention in the DNS module that fails if the apex domain starts with a number. Google DNS does not allow the zone name to begin with a number.

Maybe there could be a variable that allows for the zone name to be overridden or add a prefix to the naming convention, e.g., root-.

https://github.com/jenkins-x/terraform-google-jx/blob/master/modules/dns/main.tf
managed_zone = replace(var.apex_domain, ".", "-")

Kind regards,
Kris.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions