Please vote on this pull request by adding a ๐ reaction to the original pull request comment 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 pull request followers and do not help prioritize the request
Relates OR Closes #0000
Example of Warning in terraform plan When Public Endpoints are in Use:
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# ibm_database.elasticsearch will be updated in-place
~ resource "ibm_database" "elasticsearch" {
id = "crn:v1:bluemix:public:databases-for-elasticsearch:us-south:a/40ddc34a953a8c02f10987b59085b60e:678da497-8106-46ab-8823-7e60b0398afd::"
name = "omar-test-icd-elasticsearch-05-30"
~ service_endpoints = "public" -> "private"
tags = []
# (16 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
โท
โ Warning: IBM recommends using private endpoints only to improve security by restricting access to your database to the IBM Cloud private network. For more information, please refer to our security best practices, https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-manage-security-compliance.
โ
โ with ibm_database.elasticsearch,
โ on main.tf line 44, in resource "ibm_database" "elasticsearch":
โ 44: resource "ibm_database" "elasticsearch" {
โ
Example of Warning in terraform apply after user set service endpoints to public:
Warning: IBM recommends using private endpoints only to improve security by restricting access to your database to the IBM Cloud private network. For more information, please refer to our security best practices, https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-manage-security-compliance.
โ
โ with ibm_database.elasticsearch,
โ on main.tf line 44, in resource "ibm_database" "elasticsearch":
โ 44: resource "ibm_database" "elasticsearch" {
โ
โต
Example of Error when user left out service_endpoints:
โท
โ Error: Missing required argument
โ
โ on main.tf line 44, in resource "ibm_database" "elasticsearch":
โ 44: resource "ibm_database" "elasticsearch" {
โ
โ The argument "service_endpoints" is required, but no definition was found.
Community Note
Relates OR Closes #0000
Example of Warning in
terraform plan
When Public Endpoints are in Use:Example of Warning in
terraform apply
after user set service endpoints to public:Example of Error when user left out
service_endpoints
:Output from acceptance testing: