-
Notifications
You must be signed in to change notification settings - Fork 48
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
Failed to set ACL #229
Comments
the error says you need to import the acl into your terraform state before it will let you overwrite it.
running see issue #182 for the reason for this error |
That is fine. I understand the reasoning behind the mentioned ticket but this is kind if counterintuitive to how terraform operates. I went in knowing that the resource object was authoritative and would not expect to have to import existing state in order to be able to define a resource. For example AWS and Google Terraform providers do not raise exceptions if you use an authoritative resource so why would Tailscale? What is the long term solution to removing the need to import existing data for the provider to function out of the box? ACL versioning? Importing the existing state did resolve the issue so closing the ticket. Thank you @markwellis . |
so it doesn't need to be imported first, as this breaks is a manual task that breaks our workflow. Fixes tailscale#229
so it doesn't need to be imported first, as this breaks is a manual task that breaks our workflow. Fixes tailscale#229
so it doesn't need to be imported first, as this breaks is a manual task that breaks our workflow. Fixes tailscale#229
) So it doesn't need to be imported first. Fixes #229
It shouldn't be necessary to run the import command. See #426 for details. |
Terraform version: 1.3.5
Tailscale provider version: 0.13.7
OS: Ubuntu 20.04
I am trying to set a Tailscale ACL via the provider for the first time. There is no existing state for the ACL and I expect the Terraform state to be generated as part of the first apply, however, I am encountering errors requesting that I import the ACL? Please advise.
The text was updated successfully, but these errors were encountered: