You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding ACS endpoints to an SAML app configuration in Terraform using okta_app_saml resource does not keep the order and takes only default indices.
#2173
Open
jgeorge-1 opened this issue
Jan 14, 2025
· 2 comments
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
Debug Output
Please provide a link to a GitHub Gist containing the complete debug output. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
The ACS URLs should be in the order in which it was configured in Terraform. Also it should not just to default to
indices starting from 0,1,2 and so on.
---> Updated description
Can this be done in the actual API call?
YES
Tried the API call it sets the index only when ALL parameters (including required ones as in documentation) are included for the SAML settings in the call. It replaces rather than updating the SAML settings.
Community Note
Terraform Version
0.14.4
Affected Resource(s)
Terraform Configuration Files
resource "okta_app_saml" "cb_saml_example_app" {
…
acs_endpoints = ["https://example.com/acs1”,
"https://example.com/acs2”,
"https://example.com/acs3/“
]
…
}
Debug Output
Please provide a link to a GitHub Gist containing the complete debug output. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
To obtain the debug output, see the Terraform documentation on debugging.
--->
N/A
Panic Output
N/A
Expected Behavior
The ACS URLs should be in the order in which it was configured in Terraform. Also it should not just to default to
indices starting from 0,1,2 and so on.
URL -> Index
"https://example.com/acs1” -> 1
"https://example.com/acs2” -> 2
"https://example.com/acs3/“ -> 3
Can this be done in the Admin UI?
YES
Note: A subsequent Terraform apply will reset the ACS URL indices to default.
Can this be done in the actual API call?
NO
Tried the API call but it would not set the index.
Actual Behavior
The ACS URLs were out of order and starting with the default index 0,1,2 and so on...
URL -> Index
"https://example.com/acs3” -> 0
"https://example.com/acs2” -> 1
"https://example.com/acs1/“ -> 2
After saml client configuration the following step is performed.
terraform apply
Important Factoids
None
References
iNo previous Github issues for this issue.
Vendor documentation:
Okta provider documentation for acs_endpoints
The text was updated successfully, but these errors were encountered: