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

Add tags to records #46

Open
glensc opened this issue Aug 22, 2024 · 0 comments
Open

Add tags to records #46

glensc opened this issue Aug 22, 2024 · 0 comments

Comments

@glensc
Copy link
Contributor

glensc commented Aug 22, 2024

Describe the Feature

There's no "tags" in record:

  • resource "cloudflare_record" "default" {
    for_each = local.records
    zone_id = local.zone_id
    name = each.value.name
    type = each.value.type
    value = each.value.value
    priority = lookup(each.value, "priority", null)
    proxied = lookup(each.value, "proxied", false)
    ttl = lookup(each.value, "ttl", 1)
    }

Extra

Also, I tried to pass context.tags via atmos config, and then it totally blew up

components:
  terraform:
    cloudflare-zone:
      vars:
        context:
          tags:
            - "cloudflare-terraform"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant