-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating terraform checkpoint provider from 1.4 to 1.6 causing weird apply plans #93
Comments
Hi @LockeColtenPFG,
Thank you, |
By saying you "fixed" it, will the new provider version act like how it did in 1.4.0 and not report all these changes? If yes, can you issue a fix release (like 1.6.1) for this so we don't have to downgrade our provider? |
Hi @deutmeyerbrianpfg |
Any update on a fix for this? |
Hi @b-diggity, |
I see PR #95 was created, but a fix for this doesn't appear to be included? Q1 is winding down...is this still going to be fixed this quarter? |
Hi @deutmeyerbrianpfg , I will comment here on any progress, and we will fix this issue when possible. |
Can you post a code example for what you are referring to with |
resource "checkpoint_management_access_role" "example" { note that this solution will still show the change LockeColtenPFG mentioned in the selection : users {
|
So this code results in changes: resource "checkpoint_management_access_role" "example" {
name = "example_ar"
users {
source = "myad.com__AD"
selection = ["MY GROUP NAME"]
}
} Are you saying that that I can change my source to resource "checkpoint_management_access_role" "example" {
name = "example_ar"
users {
source = "CpmiAdGroup"
selection = ["MY GROUP NAME"]
}
} |
Hi @deutmeyerbrianpfg |
Hi @chkp-alonshev is there still no fix for this? It is causing our pipeline to run very slow due to all the updates it thinks it needs to make each time. Do we need to submit an API enhancement request with our account team? Thanks for keeping after this one. |
Hi, Regards, |
Thanks for the reply, Roy! Are you able to elaborate a little more on what is missing in the API that creates this problem? I'd like to get a formal enhancement request into our account team. This is causing an extreme slowdown on our side, and I'd like to make sure that it is truly incorporated into R82. It's been almost two years now so I could be mistaken, but I don't recall this being a problem when we first started using this provider. According to the first post of this thread, it looks like something changed between 1.4 and 1.6. Do you recall why the API limitation wasn't a problem until then? |
API is missing data for terraform so access-role resource cannot work properly. |
After bumping from 1.4 to 1.6, the terraform plan that was generated appears to want to modify our existing Access Role objects to some weird syntax
For example
users {
~ selection = [
- "company-AWS-AD-awsnumber-dba",
+ "ad_group_companyawsnumberdba",
]
The next apply after the update caused this to appear in the plan. It switched our selections syntax, preprended ad_group_ to the name, and removed the hyphens from the existing selection
This happened to every AR object we had defined (30ish)
Another oddity we noticed as the source we defined in an AR randomly thought it was cpmiADgroup
and wanted to modify itself back to the original value that had never changed
Is this expected behavior in 1.6?
The text was updated successfully, but these errors were encountered: