Skip to content
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

provider/aws: aws_db_instance now defaults publicly_accessible to false #7117

Merged
merged 1 commit into from
Jun 10, 2016

Conversation

stack72
Copy link
Contributor

@stack72 stack72 commented Jun 10, 2016

Fixes #7035

A known issue in Terraform means that d.GetOk() on a bool which is false
will mean it doesn't get evaulated. Therefore, when people set
publicly_accessible to false, it will never get evaluated on the Create

We are going to make it default to false now

make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSDBInstance'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /vendor/)
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSDBInstance -timeout 120m
=== RUN   TestAccAWSDBInstance_basic
--- PASS: TestAccAWSDBInstance_basic (567.54s)
=== RUN   TestAccAWSDBInstance_kmsKey
--- PASS: TestAccAWSDBInstance_kmsKey (605.41s)
=== RUN   TestAccAWSDBInstance_optionGroup
--- PASS: TestAccAWSDBInstance_optionGroup (666.44s)
=== RUN   TestAccAWSDBInstanceReplica
--- PASS: TestAccAWSDBInstanceReplica (1863.03s)

The missing tests cannot run for me due to VPC classic missing

false

Fixes #7035

A known issue in Terraform means that d.GetOk() on a bool which is false
will mean it doesn't get evaulated. Therefore, when people set
publicly_accessible to false, it will never get evaluated on the Create

We are going to make it default to false now
@phinze
Copy link
Contributor

phinze commented Jun 10, 2016

LGTM 👍

@stack72 stack72 merged commit 5ecc8e3 into master Jun 10, 2016
@stack72 stack72 deleted the db_instance_publicly_accessible branch June 10, 2016 21:55
@ghost
Copy link

ghost commented Apr 25, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws_db_instance does not apply publicly_accessible at creation time
2 participants