-
Notifications
You must be signed in to change notification settings - Fork 630
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
Add support for DNS tags and comments #2105
Conversation
changelog detected ✅ |
Any way we could get this fast tracked? This is a very valuable feature for enterprise. |
🎉 Thank you so much @Cyb3r-Jak3! I built the API for this feature, let me know if there's anything I can help with (but it looks like this is pretty much done already and just needs a rebase?) |
Marking this as ready as the changes are in the go SDK and acceptance tests pass when using it. root@4bc1654e26fd:/workspaces/terraform-provider-cloudflare# TESTARGS='-run "^TestAccCloudflareRecord" -count 1 -parallel 1' make testacc
TF_ACC=1 go test $(go list ./...) -v -run "^TestAccCloudflareRecord" -count 1 -parallel 1 -timeout 120m -parallel 1
? github.com/cloudflare/terraform-provider-cloudflare [no test files]
=== RUN TestAccCloudflareRecordDataSource
--- PASS: TestAccCloudflareRecordDataSource (4.73s)
=== RUN TestAccCloudflareRecordDataSourceTXT
--- PASS: TestAccCloudflareRecordDataSourceTXT (4.82s)
=== RUN TestAccCloudflareRecordDataSourceMX
--- PASS: TestAccCloudflareRecordDataSourceMX (4.84s)
=== RUN TestAccCloudflareRecord_ImportBasic
--- PASS: TestAccCloudflareRecord_ImportBasic (3.89s)
=== RUN TestAccCloudflareRecord_ImportSRV
--- PASS: TestAccCloudflareRecord_ImportSRV (4.15s)
=== RUN TestAccCloudflareRecord_Basic
=== PAUSE TestAccCloudflareRecord_Basic
=== RUN TestAccCloudflareRecord_CaseInsensitive
=== PAUSE TestAccCloudflareRecord_CaseInsensitive
=== RUN TestAccCloudflareRecord_Apex
=== PAUSE TestAccCloudflareRecord_Apex
=== RUN TestAccCloudflareRecord_LOC
=== PAUSE TestAccCloudflareRecord_LOC
=== RUN TestAccCloudflareRecord_SRV
=== PAUSE TestAccCloudflareRecord_SRV
=== RUN TestAccCloudflareRecord_CAA
=== PAUSE TestAccCloudflareRecord_CAA
=== RUN TestAccCloudflareRecord_Proxied
=== PAUSE TestAccCloudflareRecord_Proxied
=== RUN TestAccCloudflareRecord_Updated
=== PAUSE TestAccCloudflareRecord_Updated
=== RUN TestAccCloudflareRecord_typeForceNewRecord
=== PAUSE TestAccCloudflareRecord_typeForceNewRecord
=== RUN TestAccCloudflareRecord_hostnameForceNewRecord
=== PAUSE TestAccCloudflareRecord_hostnameForceNewRecord
=== RUN TestAccCloudflareRecord_CreateAfterManualDestroy
=== PAUSE TestAccCloudflareRecord_CreateAfterManualDestroy
=== RUN TestAccCloudflareRecord_TtlValidation
=== PAUSE TestAccCloudflareRecord_TtlValidation
=== RUN TestAccCloudflareRecord_ExplicitProxiedFalse
=== PAUSE TestAccCloudflareRecord_ExplicitProxiedFalse
=== RUN TestAccCloudflareRecord_MXWithPriorityZero
=== PAUSE TestAccCloudflareRecord_MXWithPriorityZero
=== RUN TestAccCloudflareRecord_TtlValidationUpdate
=== PAUSE TestAccCloudflareRecord_TtlValidationUpdate
=== RUN TestAccCloudflareRecord_HTTPS
=== PAUSE TestAccCloudflareRecord_HTTPS
=== RUN TestAccCloudflareRecord_MXNull
=== PAUSE TestAccCloudflareRecord_MXNull
=== CONT TestAccCloudflareRecord_Basic
--- PASS: TestAccCloudflareRecord_Basic (3.62s)
=== CONT TestAccCloudflareRecord_hostnameForceNewRecord
--- PASS: TestAccCloudflareRecord_hostnameForceNewRecord (6.85s)
=== CONT TestAccCloudflareRecord_MXNull
--- PASS: TestAccCloudflareRecord_MXNull (4.50s)
=== CONT TestAccCloudflareRecord_HTTPS
--- PASS: TestAccCloudflareRecord_HTTPS (3.08s)
=== CONT TestAccCloudflareRecord_TtlValidationUpdate
--- PASS: TestAccCloudflareRecord_TtlValidationUpdate (7.56s)
=== CONT TestAccCloudflareRecord_MXWithPriorityZero
--- PASS: TestAccCloudflareRecord_MXWithPriorityZero (3.22s)
=== CONT TestAccCloudflareRecord_ExplicitProxiedFalse
--- PASS: TestAccCloudflareRecord_ExplicitProxiedFalse (8.39s)
=== CONT TestAccCloudflareRecord_TtlValidation
--- PASS: TestAccCloudflareRecord_TtlValidation (0.80s)
=== CONT TestAccCloudflareRecord_CreateAfterManualDestroy
--- PASS: TestAccCloudflareRecord_CreateAfterManualDestroy (6.57s)
=== CONT TestAccCloudflareRecord_CAA
--- PASS: TestAccCloudflareRecord_CAA (6.86s)
=== CONT TestAccCloudflareRecord_typeForceNewRecord
--- PASS: TestAccCloudflareRecord_typeForceNewRecord (6.93s)
=== CONT TestAccCloudflareRecord_Updated
--- PASS: TestAccCloudflareRecord_Updated (7.74s)
=== CONT TestAccCloudflareRecord_Proxied
--- PASS: TestAccCloudflareRecord_Proxied (3.77s)
=== CONT TestAccCloudflareRecord_LOC
--- PASS: TestAccCloudflareRecord_LOC (3.77s)
=== CONT TestAccCloudflareRecord_SRV
--- PASS: TestAccCloudflareRecord_SRV (5.71s)
=== CONT TestAccCloudflareRecord_Apex
--- PASS: TestAccCloudflareRecord_Apex (3.59s)
=== CONT TestAccCloudflareRecord_CaseInsensitive
--- PASS: TestAccCloudflareRecord_CaseInsensitive (4.78s)
PASS
ok github.com/cloudflare/terraform-provider-cloudflare/internal/provider 110.214s |
looks good with this shimmed in, thanks. i'll get this merged once cloudflare-go release lands next week. |
Is there a PR or Issue I can track to see when this is completed? |
This functionality has been released in v3.32.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I am currently attempting to apply tags to my dns records, and they don't seem to stick; Is this expected? Should I be overwriting? |
@sirwolfgang You should open an issue if you are expecting an issue with the tags |
Requires #2102 and cloudflare/cloudflare-go#1151
Adds support for adding tags and comments
Opened as draft as haven't been able to run acceptances tests yet as there are breaking changes that need to be resolved with #2102