-
Notifications
You must be signed in to change notification settings - Fork 671
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
Actions fail to import for ibm_cis_page_rule resources #2765
Comments
@rmoe , Can we get complete logs.. Thanks |
https://gist.github.com/rmoe/9adb558638aab0fe014f10b2e8e22e03 |
@MalarvizhiK , |
@shivaleelac Please look into this. |
Has this gotten dropped between handoffs? |
Shivaleela will look at the defect and let us know the timeline |
Shivaleela and Sandeep S from PDNS team will work on this issue. |
* [Resolved]Actions fail to import for ibm_cis_page_rule resources #2765 * updated ibm_cis_page_rule resources * update cis_page_rules docs Co-authored-by: Sandeep-S1 <[email protected]>
Fix is available in provider version >=1.37.0 |
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
We have defined some
ibm_cis_page_rule
resources so that we can import existing page rules. This is one example:here is the corresponding page rule as it currently exists:
Expected Behavior
When we import page rules the actions are also imported.
Actual Behavior
Page rule actions are not always being imported. In the case of the above resource it imports correctly but with no actions defined.
The issue seems to be a type error related to the
browser_cache_ttl
action.A similar thing happens to any page rule with a
minify
action:Steps to Reproduce
minify
orbrowser_cache_ttl
action.terraform state show ibm_cis_page_rule.imported_page_rule
and see that no actions exist.The text was updated successfully, but these errors were encountered: