diff --git a/apis/ec2/v1alpha2/zz_routetable_types.go b/apis/ec2/v1alpha2/zz_routetable_types.go index a7b7f22a0..c0eda560b 100755 --- a/apis/ec2/v1alpha2/zz_routetable_types.go +++ b/apis/ec2/v1alpha2/zz_routetable_types.go @@ -70,26 +70,26 @@ type RouteTableRouteObservation struct { type RouteTableRouteParameters struct { // +kubebuilder:validation:Optional - CarrierGatewayID *string `json:"carrierGatewayId,omitempty" tf:"carrier_gateway_id,omitempty"` + CarrierGatewayID *string `json:"carrierGatewayId,omitempty" tf:"carrier_gateway_id"` // +kubebuilder:validation:Optional - CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"` + CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block"` // +kubebuilder:validation:Optional - DestinationPrefixListID *string `json:"destinationPrefixListId,omitempty" tf:"destination_prefix_list_id,omitempty"` + DestinationPrefixListID *string `json:"destinationPrefixListId,omitempty" tf:"destination_prefix_list_id"` // +kubebuilder:validation:Optional - EgressOnlyGatewayID *string `json:"egressOnlyGatewayId,omitempty" tf:"egress_only_gateway_id,omitempty"` + EgressOnlyGatewayID *string `json:"egressOnlyGatewayId,omitempty" tf:"egress_only_gateway_id"` // +kubebuilder:validation:Optional - GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id,omitempty"` + GatewayID *string `json:"gatewayId,omitempty" tf:"gateway_id"` // +kubebuilder:validation:Optional - IPv6CidrBlock *string `json:"ipv6CidrBlock,omitempty" tf:"ipv6_cidr_block,omitempty"` + IPv6CidrBlock *string `json:"ipv6CidrBlock,omitempty" tf:"ipv6_cidr_block"` // +crossplane:generate:reference:type=Instance // +kubebuilder:validation:Optional - InstanceID *string `json:"instanceId,omitempty" tf:"instance_id,omitempty"` + InstanceID *string `json:"instanceId,omitempty" tf:"instance_id"` // +kubebuilder:validation:Optional InstanceIDRef *v1.Reference `json:"instanceIdRef,omitempty" tf:"-"` @@ -98,14 +98,14 @@ type RouteTableRouteParameters struct { InstanceIDSelector *v1.Selector `json:"instanceIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional - LocalGatewayID *string `json:"localGatewayId,omitempty" tf:"local_gateway_id,omitempty"` + LocalGatewayID *string `json:"localGatewayId,omitempty" tf:"local_gateway_id"` // +kubebuilder:validation:Optional - NATGatewayID *string `json:"natGatewayId,omitempty" tf:"nat_gateway_id,omitempty"` + NATGatewayID *string `json:"natGatewayId,omitempty" tf:"nat_gateway_id"` // +crossplane:generate:reference:type=NetworkInterface // +kubebuilder:validation:Optional - NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id,omitempty"` + NetworkInterfaceID *string `json:"networkInterfaceId,omitempty" tf:"network_interface_id"` // +kubebuilder:validation:Optional NetworkInterfaceIDRef *v1.Reference `json:"networkInterfaceIdRef,omitempty" tf:"-"` @@ -114,11 +114,11 @@ type RouteTableRouteParameters struct { NetworkInterfaceIDSelector *v1.Selector `json:"networkInterfaceIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional - TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id,omitempty"` + TransitGatewayID *string `json:"transitGatewayId,omitempty" tf:"transit_gateway_id"` // +crossplane:generate:reference:type=VPCEndpoint // +kubebuilder:validation:Optional - VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id,omitempty"` + VPCEndpointID *string `json:"vpcEndpointId,omitempty" tf:"vpc_endpoint_id"` // +kubebuilder:validation:Optional VPCEndpointIDRef *v1.Reference `json:"vpcEndpointIdRef,omitempty" tf:"-"` @@ -128,7 +128,7 @@ type RouteTableRouteParameters struct { // +crossplane:generate:reference:type=VPCPeeringConnection // +kubebuilder:validation:Optional - VPCPeeringConnectionID *string `json:"vpcPeeringConnectionId,omitempty" tf:"vpc_peering_connection_id,omitempty"` + VPCPeeringConnectionID *string `json:"vpcPeeringConnectionId,omitempty" tf:"vpc_peering_connection_id"` // +kubebuilder:validation:Optional VPCPeeringConnectionIDRef *v1.Reference `json:"vpcPeeringConnectionIdRef,omitempty" tf:"-"` diff --git a/apis/ec2/v1alpha2/zz_securitygroup_types.go b/apis/ec2/v1alpha2/zz_securitygroup_types.go index ff0ae7a38..8a860691f 100755 --- a/apis/ec2/v1alpha2/zz_securitygroup_types.go +++ b/apis/ec2/v1alpha2/zz_securitygroup_types.go @@ -31,22 +31,22 @@ type EgressObservation struct { type EgressParameters struct { // +kubebuilder:validation:Optional - CidrBlocks []*string `json:"cidrBlocks,omitempty" tf:"cidr_blocks,omitempty"` + CidrBlocks []*string `json:"cidrBlocks,omitempty" tf:"cidr_blocks"` // +kubebuilder:validation:Optional - Description *string `json:"description,omitempty" tf:"description,omitempty"` + Description *string `json:"description,omitempty" tf:"description"` // +kubebuilder:validation:Required - FromPort *int64 `json:"fromPort" tf:"from_port,omitempty"` + FromPort *int64 `json:"fromPort" tf:"from_port"` // +kubebuilder:validation:Optional - IPv6CidrBlocks []*string `json:"ipv6CidrBlocks,omitempty" tf:"ipv6_cidr_blocks,omitempty"` + IPv6CidrBlocks []*string `json:"ipv6CidrBlocks,omitempty" tf:"ipv6_cidr_blocks"` // +kubebuilder:validation:Optional - PrefixListIds []*string `json:"prefixListIds,omitempty" tf:"prefix_list_ids,omitempty"` + PrefixListIds []*string `json:"prefixListIds,omitempty" tf:"prefix_list_ids"` // +kubebuilder:validation:Required - Protocol *string `json:"protocol" tf:"protocol,omitempty"` + Protocol *string `json:"protocol" tf:"protocol"` // +kubebuilder:validation:Optional SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` @@ -58,13 +58,13 @@ type EgressParameters struct { // +crossplane:generate:reference:refFieldName=SecurityGroupRefs // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector // +kubebuilder:validation:Optional - SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups"` // +kubebuilder:validation:Optional - Self *bool `json:"self,omitempty" tf:"self,omitempty"` + Self *bool `json:"self,omitempty" tf:"self"` // +kubebuilder:validation:Required - ToPort *int64 `json:"toPort" tf:"to_port,omitempty"` + ToPort *int64 `json:"toPort" tf:"to_port"` } type IngressObservation struct { @@ -73,22 +73,22 @@ type IngressObservation struct { type IngressParameters struct { // +kubebuilder:validation:Optional - CidrBlocks []*string `json:"cidrBlocks,omitempty" tf:"cidr_blocks,omitempty"` + CidrBlocks []*string `json:"cidrBlocks,omitempty" tf:"cidr_blocks"` // +kubebuilder:validation:Optional - Description *string `json:"description,omitempty" tf:"description,omitempty"` + Description *string `json:"description,omitempty" tf:"description"` // +kubebuilder:validation:Required - FromPort *int64 `json:"fromPort" tf:"from_port,omitempty"` + FromPort *int64 `json:"fromPort" tf:"from_port"` // +kubebuilder:validation:Optional - IPv6CidrBlocks []*string `json:"ipv6CidrBlocks,omitempty" tf:"ipv6_cidr_blocks,omitempty"` + IPv6CidrBlocks []*string `json:"ipv6CidrBlocks,omitempty" tf:"ipv6_cidr_blocks"` // +kubebuilder:validation:Optional - PrefixListIds []*string `json:"prefixListIds,omitempty" tf:"prefix_list_ids,omitempty"` + PrefixListIds []*string `json:"prefixListIds,omitempty" tf:"prefix_list_ids"` // +kubebuilder:validation:Required - Protocol *string `json:"protocol" tf:"protocol,omitempty"` + Protocol *string `json:"protocol" tf:"protocol"` // +kubebuilder:validation:Optional SecurityGroupRefs []v1.Reference `json:"securityGroupRefs,omitempty" tf:"-"` @@ -100,13 +100,13 @@ type IngressParameters struct { // +crossplane:generate:reference:refFieldName=SecurityGroupRefs // +crossplane:generate:reference:selectorFieldName=SecurityGroupSelector // +kubebuilder:validation:Optional - SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups,omitempty"` + SecurityGroups []*string `json:"securityGroups,omitempty" tf:"security_groups"` // +kubebuilder:validation:Optional - Self *bool `json:"self,omitempty" tf:"self,omitempty"` + Self *bool `json:"self,omitempty" tf:"self"` // +kubebuilder:validation:Required - ToPort *int64 `json:"toPort" tf:"to_port,omitempty"` + ToPort *int64 `json:"toPort" tf:"to_port"` } type SecurityGroupObservation struct { diff --git a/apis/iam/v1alpha2/zz_accesskey_terraformed.go b/apis/iam/v1alpha2/zz_accesskey_terraformed.go index 8e69e4256..e169db404 100755 --- a/apis/iam/v1alpha2/zz_accesskey_terraformed.go +++ b/apis/iam/v1alpha2/zz_accesskey_terraformed.go @@ -32,7 +32,7 @@ func (mg *AccessKey) GetTerraformResourceType() string { // GetConnectionDetailsMapping for this AccessKey func (tr *AccessKey) GetConnectionDetailsMapping() map[string]string { - return map[string]string{"secret": "status.atProvider.secret", "ses_smtp_password_v4": "status.atProvider.sesSMTPPasswordV4"} + return map[string]string{"secret": "status.atProvider.secret", "ses_smtp_password_v4": "status.atProvider.sesSmtpPasswordV4"} } // GetObservation of this AccessKey diff --git a/go.mod b/go.mod index 1acdd929c..c21a18e84 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/crossplane/crossplane-runtime v0.15.1-0.20220106140106-428b7c390375 github.com/crossplane/crossplane-tools v0.0.0-20210916125540-071de511ae8e github.com/crossplane/provider-aws v0.23.0 - github.com/crossplane/terrajet v0.4.0 + github.com/crossplane/terrajet v0.4.2 github.com/hashicorp/terraform-plugin-sdk/v2 v2.7.0 github.com/pkg/errors v0.9.1 github.com/terraform-providers/terraform-provider-aws v1.60.1-0.20210811232925-d6f99829ec3f diff --git a/go.sum b/go.sum index 89a1320a2..ae63efde4 100644 --- a/go.sum +++ b/go.sum @@ -215,8 +215,8 @@ github.com/crossplane/crossplane-tools v0.0.0-20210916125540-071de511ae8e h1:7UM github.com/crossplane/crossplane-tools v0.0.0-20210916125540-071de511ae8e/go.mod h1:3GzY5sP0PVePArghBh5K4fGzS/3kM0R/NAZn5s7LXqw= github.com/crossplane/provider-aws v0.23.0 h1:PK5SfgEYY4mu/BrP+AkH5jRG/B/XYF06E+k55NdX6f4= github.com/crossplane/provider-aws v0.23.0/go.mod h1:+seFgtg4gbUEhtdYPD7xqlNKkLncGcUFwU/nU2uOM8Y= -github.com/crossplane/terrajet v0.4.0 h1:1EwVGb4V88VPqU35GnWbjcvFQD4yqJ+llZxdCbKkAnk= -github.com/crossplane/terrajet v0.4.0/go.mod h1:oynNx4au8y/tiSb1OanWSMmUf55Cz/O4f1HxH+liI2A= +github.com/crossplane/terrajet v0.4.2 h1:tWgjjPDwzwlurRYgaujsXL7NHhehBy1C8PZloTUQ65U= +github.com/crossplane/terrajet v0.4.2/go.mod h1:oynNx4au8y/tiSb1OanWSMmUf55Cz/O4f1HxH+liI2A= github.com/dave/jennifer v1.4.1 h1:XyqG6cn5RQsTj3qlWQTKlRGAyrTcsk1kUmWdZBzRjDw= github.com/dave/jennifer v1.4.1/go.mod h1:7jEdnm+qBcxl8PC0zyp7vxcpSRnzXSt9r39tpTVGlwA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=