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

Accessing Computed Attributes by Index #247

Closed
pearkes opened this issue Aug 29, 2014 · 2 comments
Closed

Accessing Computed Attributes by Index #247

pearkes opened this issue Aug 29, 2014 · 2 comments
Labels

Comments

@pearkes
Copy link
Contributor

pearkes commented Aug 29, 2014

Given the following configuration:

# providers
...

resource "mailgun_domain" "mail" {
    name = "example.com"
    spam_action = "disabled"
    smtp_password = "foobarbaz"
}

resource "digitalocean_record" "mail_receiving_0" {
    domain = "example.com"
    name = "@"
    type = "${mailgun_domain.mail.receiving_records.0.record_type}"
    value = "${mailgun_domain.mail.receiving_records.0.value}"
}

The following error is returned on plan:

Error running plan: Resource 'mailgun_domain.mail' does not have attribute 'receiving_records.0.value' for variable 'mailgun_domain.mail.receiving_records.0.value'
@pearkes pearkes added the bug label Aug 29, 2014
@mitchellh
Copy link
Contributor

I have an idea.

@mitchellh
Copy link
Contributor

IT HAS BEEN FIXED. 😐

@ghost ghost locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants