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
resource"scaleway_rdb_instance""test_db" {
name="test-db"node_type="db-play2-pico"volume_type="sbs_15k"volume_size_in_gb=10is_ha_cluster=falsedisable_backup=falsebackup_schedule_frequency=1# every hourbackup_schedule_retention=30backup_same_region=falseuser_name="fancyuser"password="verysecurepassword"encryption_at_rest=truesnapshot_id=data.external.test_db_snapshots.result.idprivate_network {
pn_id=scaleway_vpc_private_network.test_db.idenable_ipam=true
}
}
Expected Behavior
A rdb instance is created from a snapshot and placed within the provided private network.
Actual Behavior
Everything runs without errors and restores the database successfully. There is no error given. However, after apply the database is accessible from the public internet and a public load-balancer is created. Additionally, the rdb instance is not connected to the private network. This erroneous state is not recoverable from within tf (at least none that I know of, none of my attempts to fix it worked - the public endpoint could only be deleted from the webinterface).
Steps to Reproduce
tofu apply
References
Place in the code where an instance is created from a snapshot and the private_network block is ignored:
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
A rdb instance is created from a snapshot and placed within the provided private network.
Actual Behavior
Everything runs without errors and restores the database successfully. There is no error given. However, after
apply
the database is accessible from the public internet and a public load-balancer is created. Additionally, the rdb instance is not connected to the private network. This erroneous state is not recoverable from within tf (at least none that I know of, none of my attempts to fix it worked - the public endpoint could only be deleted from the webinterface).Steps to Reproduce
tofu apply
References
private_network
block is ignored:terraform-provider-scaleway/internal/services/rdb/instance.go
Line 352 in 54915ec
The text was updated successfully, but these errors were encountered: