Skip to content

Commit

Permalink
Added support for Name parameter under scope variables
Browse files Browse the repository at this point in the history
  • Loading branch information
varadanandyala committed Oct 25, 2024
1 parent a22df80 commit 9c52b0e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aquasec/resource_container_runtime_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1231,6 +1231,10 @@ func resourceContainerRuntimePolicy() *schema.Resource {
Description: "Variable value.",
Required: true,
},
"name": {
Type: schema.TypeString,
Optional: true,
},
},
},
},
Expand Down
1 change: 1 addition & 0 deletions aquasec/resource_host_runtime_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -3007,6 +3007,7 @@ func flattenVariables(variables []interface{}) []client.Variable {
val := v.(map[string]interface{})
result = append(result, client.Variable{
Attribute: val["attribute"].(string),
Name: val["name"].(string),
Value: val["value"].(string),
})
}
Expand Down

0 comments on commit 9c52b0e

Please sign in to comment.