-
Notifications
You must be signed in to change notification settings - Fork 97
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
DXE-2097 dns record active=false not working and the option comment does not exist #371
Comments
Hi It looks like the Regarding adding comment, I think there is something we can do about it. I'll create internal ticket to address that. |
Hello, |
Hi @chouraamine and @yazbekhe , I was just investigating this ticket and realized that I am not sure how you want this to work.
Do you mean the zone level comment being set by update on record resource? because I cannot do that since right now records in terraform are represented as a separately managed resources and having more that one record per zone would cause all of akamai_dns_record try to set the same zone level comment at every apply and it would create a huge mess. Or maybe you want to be able to add a comment on per record basis that is visible in UI, so that every record has its own comment? Although this could be done in theory, it would require changes in api and in UI, before I could introduce this in terraform. I wonder what is the problem that you are trying to solve. Maybe there is a different way to achieve the same thing. Please share with us, so we have better understanding of this problem. |
Hello @majakubiec, Here is a screenshot : We need to add an input variable where it is possible to put a comment. Thanks |
@chouraamine This comments column can be set with zone's comment field in terraform:
But I guess this may not be the answer you were looking for. Let me think... |
Yes that's right 👍 |
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v1.2.4
Affected Resource(s)
akamai_dns_record
Terraform Configuration Files
zone = local.dns_zone name = local.certificate_hostname recordtype = "CNAME" active = true ttl = 600 target = ["xxxxxx"] }
Debug Output
whatever the active is true or false the zone get activated in akamai. also the comment on the activation is the one of the previous activation and there is no option to set a new comment
Expected Behavior
to be able to activate the zone OR not to.
to be able to set a comment on the zone activation
it would be more logic that the activation get seperated from the creation of the records what will allow to create multiple records and activate once
The text was updated successfully, but these errors were encountered: