diff --git a/apis/ssoadmin/v1beta1/zz_accountassignment_types.go b/apis/ssoadmin/v1beta1/zz_accountassignment_types.go index 6145112eec..fce2e59db7 100755 --- a/apis/ssoadmin/v1beta1/zz_accountassignment_types.go +++ b/apis/ssoadmin/v1beta1/zz_accountassignment_types.go @@ -66,8 +66,8 @@ type AccountAssignmentParameters struct { // An identifier for an object in SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). This can be set to the crossplane external-name of either a Group or User in the identitystore api group, but the Ref and Selector fields will only work with a Group. // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/identitystore/v1beta1.Group - // +crossplane:generate:reference:refFieldName=PrincipalIdFromGroupRef - // +crossplane:generate:reference:selectorFieldName=PrincipalIdFromGroupSelector + // +crossplane:generate:reference:refFieldName=PrincipalIDFromGroupRef + // +crossplane:generate:reference:selectorFieldName=PrincipalIDFromGroupSelector // +kubebuilder:validation:Optional PrincipalID *string `json:"principalId,omitempty" tf:"principal_id,omitempty"` diff --git a/apis/ssoadmin/v1beta1/zz_generated.resolvers.go b/apis/ssoadmin/v1beta1/zz_generated.resolvers.go index caa1b64f42..28bc094cd1 100644 --- a/apis/ssoadmin/v1beta1/zz_generated.resolvers.go +++ b/apis/ssoadmin/v1beta1/zz_generated.resolvers.go @@ -42,8 +42,8 @@ func (mg *AccountAssignment) ResolveReferences(ctx context.Context, c client.Rea rsp, err = r.Resolve(ctx, reference.ResolutionRequest{ CurrentValue: reference.FromPtrValue(mg.Spec.ForProvider.PrincipalID), Extract: reference.ExternalName(), - Reference: mg.Spec.ForProvider.PrincipalIdFromGroupRef, - Selector: mg.Spec.ForProvider.PrincipalIdFromGroupSelector, + Reference: mg.Spec.ForProvider.PrincipalIDFromGroupRef, + Selector: mg.Spec.ForProvider.PrincipalIDFromGroupSelector, To: reference.To{ List: &v1beta1.GroupList{}, Managed: &v1beta1.Group{}, @@ -53,7 +53,7 @@ func (mg *AccountAssignment) ResolveReferences(ctx context.Context, c client.Rea return errors.Wrap(err, "mg.Spec.ForProvider.PrincipalID") } mg.Spec.ForProvider.PrincipalID = reference.ToPtrValue(rsp.ResolvedValue) - mg.Spec.ForProvider.PrincipalIdFromGroupRef = rsp.ResolvedReference + mg.Spec.ForProvider.PrincipalIDFromGroupRef = rsp.ResolvedReference return nil } diff --git a/config/ssoadmin/config.go b/config/ssoadmin/config.go index ec29ef7b3a..ca199711f9 100644 --- a/config/ssoadmin/config.go +++ b/config/ssoadmin/config.go @@ -11,8 +11,8 @@ func Configure(p *config.Provider) { p.AddResourceConfigurator("aws_ssoadmin_account_assignment", func(r *config.Resource) { r.References["principal_id"] = config.Reference{ TerraformName: "aws_identitystore_group", - RefFieldName: "PrincipalIdFromGroupRef", - SelectorFieldName: "PrincipalIdFromGroupSelector", + RefFieldName: "PrincipalIDFromGroupRef", + SelectorFieldName: "PrincipalIDFromGroupSelector", } r.MetaResource.ArgumentDocs["principal_id"] = "- (Required) An identifier for an object in SSO, such as a " + "user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). This can be " +