Skip to content
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

State is not tracked properly when policy created with no rules #22

Open
wfg opened this issue Sep 9, 2021 · 1 comment
Open

State is not tracked properly when policy created with no rules #22

wfg opened this issue Sep 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@wfg
Copy link
Collaborator

wfg commented Sep 9, 2021

│ Error: error setting rule for resource containerRuntime: Invalid address to set: []string{"rule", "0", "AntiMalware"}
│ 
│   with prismacloudcompute_container_runtime_policy.ruleset,
│   on main.tf line 1373, in resource "prismacloudcompute_container_runtime_policy" "ruleset":
│ 1373: resource "prismacloudcompute_container_runtime_policy" "ruleset" {
│ 

Reproduce:

  1. Have no rules in container runtime policy
  2. terraform apply
  3. Create rule in UI
  4. terraform apply
@wfg wfg added the bug Something isn't working label Sep 9, 2021
@maxboynton
Copy link
Contributor

Issue has been addressed in the v0.8.0 release (#71).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants