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

Allow zones to be properly imported #157

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

ooesili
Copy link
Contributor

@ooesili ooesili commented Nov 19, 2018

Without this change, when zones are imported they don't have the zone
attribute set inside the state. This causes the next plan to attempt to
recreate the resource because it thinks the existing resource has an
empty string for the zone attribute. The zone attribute is indeed set
when zones are created through Terraform which explains why this may
have gone unnoticed up until now.

Without this change, when zones are imported they don't have the `zone`
attribute set inside the state. This causes the next plan to attempt to
recreate the resource because it thinks the existing resource has an
empty string for the zone attribute. The `zone` attribute is indeed set
when zones are created through Terraform which explains why this may
have gone unnoticed up until now.
@ghost ghost added the size/XS label Nov 19, 2018
Copy link
Member

@jacobbednarz jacobbednarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ooesili! 🙏🏻 Great find

@patryk
Copy link
Contributor

patryk commented Nov 19, 2018

Thanks Wesley! Great find.

@patryk patryk merged commit 8090994 into cloudflare:master Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants