This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
Removing the deprecated path_patterns in pingaccess_application_resource results in a lack of idempotency #134
Labels
bug
Something isn't working
Terraform Version
(tested both)
0.14.5
1.1.6
Provider version
0.9.0 ( latest )
Affected Resource(s)
pingaccess_application_resource
https://registry.terraform.io/providers/iwarapter/pingaccess/latest/docs/resources/application_resource
specifically,
path_patterns
Other information
Docker containers:
PingAccess 6.1.4-edge
PingFederate 9.3.3-edge
Background
path_prefixes
inpingaccess_application_resource
are deprecated. We wish to remove them, since the same information is contained inpath_patterns
, as an example output states below:Expected Behavior
You remove the
path_prefixes
and there are no changes to the Terraform when doing a plan/apply. Have idempotency.Actual Behavior
The Terraform will contuinly say the resource is being changed ( the
path_prefixes
are being removed). Idempotency is lost.Steps to Reproduce
This is a specific case, however perhaps it could be recreated by:
Create a
pingaccess_application_resource
but do not fill out thepath_prefixes
. Apply, then apply again ( without any further change to code). Your issue will then be loss of idempotency since it will say you are changing resources, but you have not changed anything in the code.Put in the
path_prefixes
into your code. It will give a warning and say the argument is deprecated.The text was updated successfully, but these errors were encountered: