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

aws: new resources #87

Merged
merged 6 commits into from
Mar 27, 2020
Merged

aws: new resources #87

merged 6 commits into from
Mar 27, 2020

Conversation

talset
Copy link
Member

@talset talset commented Mar 13, 2020

Implement new AWS resources

  • aws_db_subnet_group
  • aws_key_pair
  • aws_vpc_peering_connection
  • aws_alb_target_group
  • aws_alb_listener
  • aws_alb_listener_rule

@talset talset force-pushed the fl-awsresources branch 2 times, most recently from 09cbd9d to cb107ac Compare March 16, 2020 10:28
@talset talset added Status: Need review Type: Enhancement Provide a new feature or improve an existing one labels Mar 16, 2020
@@ -34,6 +34,16 @@ var (
// Returned values are commented in the interface doc comment block.
`,
},
Function{
Entity: "VpcPeeringConnections",
Copy link
Member

Choose a reason for hiding this comment

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

Should it maybe be named VPC..?

Copy link
Member Author

@talset talset Mar 24, 2020

Choose a reason for hiding this comment

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

I took the format from https://github.com/cycloidio/terracognita/blob/master/aws/cmd/functions.go#L29

Should we change both to VPC ?

Copy link
Member

Choose a reason for hiding this comment

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

Ok nothing, this is the one used on their side, it's ok :).

aws/resources.go Outdated
}
}

//TODO: This resource it's not Importable yet (https://www.terraform.io/docs/providers/aws/r/lb_listener_certificate.html)
Copy link
Member

Choose a reason for hiding this comment

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

I would add an issue and link it to this so we know/remember this if at somepoint it's importable.

If not, maybe we do not need this function as it has no use hehe.

@talset
Copy link
Member Author

talset commented Mar 25, 2020

PR updated

@xescugc
Copy link
Member

xescugc commented Mar 26, 2020

@talset
Copy link
Member Author

talset commented Mar 26, 2020

CI fails https://console.cycloid.io/projects/cycloid-owl/terracognita/pipelines/terracognita-master/jobs/test-pr/builds/124781#tests

yes I'm reverting VPCPeeringConnections to VpcPeeringConnections but I failed somewhere :)
I'm on it

aws_alb_listener
aws_alb_target_group
aws_alb_listener_rule
aws_alb_listener_certificate (not importable yet)
Generate aws/reader/reader.go
         aws/resourcetype_enumer.go
@talset talset merged commit acf4a56 into master Mar 27, 2020
@talset talset deleted the fl-awsresources branch March 27, 2020 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Provide a new feature or improve an existing one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants