Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Add Internet Gateway #191

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

ezgidemirel
Copy link
Collaborator

Signed-off-by: ezgidemirel ezgidemirel91@gmail.com

Description of your changes

This PR adds Internet Gateway resource.

Fixes #190

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

I created/deleted the resource using the example manifest.

p.AddResourceConfigurator("aws_internet_gateway", func(r *config.Resource) {
r.Version = common.VersionV1Alpha2
r.ExternalName = config.IdentifierFromProvider
r.References["vpc_id"] = config.Reference{
Copy link
Collaborator

@ulucinar ulucinar Apr 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: It looks like we have a common referencer configuration vpc_id, is it not applicable here?

case "vpc_id":

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's applicable, removed the reference in the config.

Signed-off-by: ezgidemirel <ezgidemirel91@gmail.com>
@ezgidemirel ezgidemirel merged commit e5fae38 into crossplane-contrib:main Apr 29, 2022
@ezgidemirel ezgidemirel deleted the internet-gateway branch April 29, 2022 15:59
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.

Support Internet Gateway
3 participants