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: fixing the aws_internet_gateway resource #667

Merged
merged 2 commits into from
Dec 14, 2014
Merged

provider/aws: fixing the aws_internet_gateway resource #667

merged 2 commits into from
Dec 14, 2014

Conversation

svanharmelen
Copy link
Contributor

The resource is build so it can attach and detach the Internet Gateway from a VPC, but as the schema has Required and ForceNew both set to true for the vpc_id field it will never use these capabilities the way they are meant to..

The tests didn't change, but if you run the tests without this PR you'll notice a new Internet Gateway is created. With this PR that no longer happens so all features of this resource are now being used properly.

Sander van Harmelen and others added 2 commits December 14, 2014 12:20
The resource is build so it can attach and detach the Internet Gateway
from a VPC, but as the schema has `Required` and `ForceNew` both set
to `true` for the vpc_id field it will never use these capabilities.
svanharmelen pushed a commit that referenced this pull request Dec 14, 2014
…ateway

provider/aws: fixing the aws_internet_gateway resource
@svanharmelen svanharmelen merged commit cbd9132 into hashicorp:master Dec 14, 2014
@svanharmelen svanharmelen deleted the f-fix-schema-aws-internet-gateway branch December 14, 2014 11:43
@mitchellh
Copy link
Contributor

Nice, this logic looks correct to me. Thanks

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

Successfully merging this pull request may close these issues.

2 participants