You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Currently, the webhosting resource created with terraform doesn't have the different domain records attributes. It would be nice to have them exposed as attributes in case we need to customize the DNS configuration instead of letting it handle the records automatically. I see that the records can already be queried by API using scw webhosting hosting get-dns-records domain=example.tld.
Having use scaleway_tem_domain before, it's surprising to not have the records available for scaleway_webhosting.
New or Affected Resource(s)
scaleway_webhosting
Potential Terraform Configuration
resource"scaleway_webhosting""test" {
# ...
}
locals {
# listing records returned by scw webhosting hosting get-dns-recordsrecords=scaleway_webhosting.test.records# value format:# [# {# "name": "",# "type": "a",# "ttl": 14400,# "value": <REDACTED>,# "priority": 0,# "status": "invalid"# },# ...# ]# listing name servers for autoconfig returned by scw webhosting hosting get-dns-recordsname_servers=scaleway_webhosting.test.name_servers# value format:# [# {# "hostname": "ns1.whm.fr-par.scw.cloud.",# "status": "invalid",# "is_default": true# },# ...# ]# even nicer: cleanly named attributes instead of a listrecords_nice=scaleway_webhosting.test.records# value format:# {# "web": {# "name": "",# "type": "a",# "ttl": 14400,# "value": <REDACTED>,# "priority": 0,# "status": "invalid"# },# "web_www": {...},# "ftp": {...},# ...## "mail_webmail": {...},# "mail_mx": {...},# "mail_dkim": {...},# "mail_spf": {...},# ...## "cpannel_web": {...},# "cpannel_cal": {...},# "cpannel_calendars": {...},# "cpannel_contacts": {...},# ...# }
}
The text was updated successfully, but these errors were encountered:
Community Note
Description
Currently, the webhosting resource created with terraform doesn't have the different domain records attributes. It would be nice to have them exposed as attributes in case we need to customize the DNS configuration instead of letting it handle the records automatically. I see that the records can already be queried by API using
scw webhosting hosting get-dns-records domain=example.tld
.Having use scaleway_tem_domain before, it's surprising to not have the records available for scaleway_webhosting.
New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: