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

Do not overwrite ACL file that has been changed manually #186

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

knyar
Copy link
Collaborator

@knyar knyar commented Dec 1, 2022

Overwriting non-default ACL contents is confusing, so now users will be prompted to explicitly import their existing ACL into Terraform if they want to manage it there. This will make overwriting existing contents harder, since after importing Terraform will show a sensible diff in terraform apply.

Fixes #182.

@knyar knyar requested a review from fylie December 1, 2022 17:55
Copy link

@fylie fylie left a comment

Choose a reason for hiding this comment

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

awesome 😄

Base automatically changed from knyar/key_expiration to main December 1, 2022 19:41
@knyar knyar force-pushed the knyar/acl_etag branch 2 times, most recently from 432ddaa to 31f0e28 Compare December 1, 2022 20:01
Overwriting non-default ACL contents is confusing, so now users will be
prompted to explicitly import their existing ACL into Terraform if they
want to manage it there. This will make overwriting existing contents
harder, since after importing Terraform will show a sensible diff in
`terraform apply`.

Fixes #182.
@knyar knyar merged commit a44608d into main Dec 1, 2022
@knyar knyar deleted the knyar/acl_etag branch December 1, 2022 20:05
dsymonds added a commit to dsymonds/terraform-provider-tailscale that referenced this pull request Oct 22, 2023
Also document importing tailscale_acl resources, which was supported
from tailscale#186.
dsymonds added a commit to dsymonds/terraform-provider-tailscale that referenced this pull request Nov 13, 2023
Also document importing tailscale_acl resources, which was supported
from tailscale#186.
knyar pushed a commit that referenced this pull request Nov 13, 2023
Also document importing tailscale_acl resources, which was supported
from #186.
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

Successfully merging this pull request may close these issues.

tailscale_acl creation deletes already present ACL without any warning
2 participants