Skip to content

Commit

Permalink
feat(cloudauth): support account with provider partition field
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-pablo-camacho committed Nov 5, 2024
1 parent a13abec commit 2082e78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sysdig/resource_sysdig_secure_cloud_auth_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,7 @@ func cloudauthAccountToResourceData(data *schema.ResourceData, cloudAccount *v2.
}
}

// TODO: add an acc test with no values, with fedramp values and with ""
if !(cloudAccount.ProviderPartition.String() == cloudauth.ProviderPartition_name[0]) {
if !(cloudAccount.ProviderPartition.String() == cloudauth.ProviderPartition_PROVIDER_PARTITION_UNSPECIFIED.String()) {
err = data.Set(SchemaProviderPartition, cloudAccount.ProviderPartition.String())
if err != nil {
return err
Expand Down

0 comments on commit 2082e78

Please sign in to comment.