Bug: resource/pingone_application_resource_grant: Fixed broken grants when a resource or scope changes it's ID (scopes and resources are re-created, not triggering a re-creation of the grants)
Bug: resource/pingone_application_resource_grant: Fixed issue where the provider produces an inconsistent result after apply when new scopes are added to, or existing scopes removed from, an existing grant.
Breaking change: data-source/pingone_resource_scope: Existing resource_id field made read only. Use resource_type and custom_resource_id instead.
Breaking change: data-source/pingone_resource_scope: New resource_type field is a required field, and new custom_resource_id field is an optional field. The combination of these fields ensure the correct resource is selected without encountering issue.
Breaking change: resource/pingone_application_resource_grant: Existing resource_name field removed. Use resource_type and custom_resource_id instead.
Breaking change: resource/pingone_application_resource_grant: New resource_type field is a required field, and new custom_resource_id field is an optional field. The combination of these fields ensure the correct resource is selected without encountering issue.
Breaking change: resource/pingone_application_resource_grant: Existing scope_names field removed and existing scopes field is now a required field. Use scopes to define the list of scopes for the grant instead.
Breaking change: resource/pingone_resource_attribute: Existing resource_name field removed. Use resource_type and custom_resource_id instead.
Breaking change: resource/pingone_resource_attribute: New resource_type field is a required field, and new custom_resource_id field is an optional field. The combination of these fields ensure the correct resource is selected without encountering issue.
Required SDK Upgrades
N/a
Testing Shell Command
TF_ACC=1 go test -v -timeout 1200s -run ^TestAccResourceScopeDataSource_ github.com/pingidentity/terraform-provider-pingone/internal/service/sso && \
TF_ACC=1 go test -v -timeout 1200s -run ^TestAccApplicationResourceGrant_ github.com/pingidentity/terraform-provider-pingone/internal/service/sso && \
TF_ACC=1 go test -v -timeout 1200s -run ^TestAccResourceAttribute_ github.com/pingidentity/terraform-provider-pingone/internal/service/sso
Change Description
resource/pingone_application_resource_grant
: Fixed broken grants when a resource or scope changes it's ID (scopes and resources are re-created, not triggering a re-creation of the grants)resource/pingone_application_resource_grant
: Fixed issue where the provider produces an inconsistent result after apply when new scopes are added to, or existing scopes removed from, an existing grant.data-source/pingone_resource_scope
: Existingresource_id
field made read only. Useresource_type
andcustom_resource_id
instead.data-source/pingone_resource_scope
: Newresource_type
field is a required field, and newcustom_resource_id
field is an optional field. The combination of these fields ensure the correct resource is selected without encountering issue.resource/pingone_application_resource_grant
: Existingresource_name
field removed. Useresource_type
andcustom_resource_id
instead.resource/pingone_application_resource_grant
: Newresource_type
field is a required field, and newcustom_resource_id
field is an optional field. The combination of these fields ensure the correct resource is selected without encountering issue.resource/pingone_application_resource_grant
: Existingscope_names
field removed and existingscopes
field is now a required field. Usescopes
to define the list of scopes for the grant instead.resource/pingone_resource_attribute
: Existingresource_name
field removed. Useresource_type
andcustom_resource_id
instead.resource/pingone_resource_attribute
: Newresource_type
field is a required field, and newcustom_resource_id
field is an optional field. The combination of these fields ensure the correct resource is selected without encountering issue.Required SDK Upgrades
N/a
Testing Shell Command
Testing Results
Expand Results
```shell ```