Skip to content

Commit

Permalink
rename resources to be less verbose
Browse files Browse the repository at this point in the history
Signed-off-by: Tung Huynh <[email protected]>
  • Loading branch information
huynhsontung committed Oct 10, 2023
1 parent b4b719b commit 4e732de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/ec2/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ func Configure(p *config.Provider) {
})

p.AddResourceConfigurator("aws_vpc_security_group_ingress_rule", func(r *config.Resource) {
r.Kind = "SecurityGroupIngressRule"
r.References["security_group_id"] = config.Reference{
Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup",
}
Expand All @@ -230,6 +231,7 @@ func Configure(p *config.Provider) {
})

p.AddResourceConfigurator("aws_vpc_security_group_egress_rule", func(r *config.Resource) {
r.Kind = "SecurityGroupEgressRule"
r.References["security_group_id"] = config.Reference{
Type: "github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup",
}
Expand Down

0 comments on commit 4e732de

Please sign in to comment.