-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Meta data deleted on each plan/apply #103
Comments
Firstly, I am glad to hear you like this provider :) I am trying to reproduce this issue, but I am unable to get it. Have you imported the resource after manually creating it? I am correct to assume you already have an SSL certificate setup in the resource "nginxproxymanager_proxy_host" "fog" {
...
certificate_id = 1
} After the next apply, you should not receive any changes the next times. |
Sorry if I don't explain the situation very well, the steps I follow to arrive to this situation are:
At this point I don't know how to maintain the infra because,
Please help me, I don't understand, I don't know if I'm doing something wrong. |
Oh!, I catch the exception,
but, just when you change something, "https" -> "http" in this case, the meta is deleted as is shown below:
I hope that this example helps to understand the issue. |
I think I understand what your issue is, but there is no need to store the DNS settings in the proxy host. They only need to be stored in the certificate. You can safely let the metadata be removed from the proxy provider. |
First, thank you very much for this amazing work, I appreciate it a lot.
I have dns_challenge on all my hosts, this setting is read-only and I can't configure it before the first plan/apply, ok, no problem I will do that after, manually, so... next, in each plan/apply, this "meta" data is deleted.
This is the output when I try to plan each change, making this provider unusable when you have dns_challenge configured:
Obviously, when I try to configure it, I can't, the output is: "Cannot set value for this attribute as the provider has marked it as read-only. Remove the configuration line setting the value."
The question is, is there a way to tell to the provider do not touch this data, or is it really not read-only?
Please, if this a well known fact and there is no way to solve it, it'll a good idea to put a brief note advertising this behavior.
Thanks in advance.
The text was updated successfully, but these errors were encountered: