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
{{ message }}
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
Describe the bug
I am trying out the caf and enabling settings incrementally. When I set restrict_supported_svc = true, the policy deployment fails.
Config File: landingzones/landingzone_caf_foundations/blueprint_foundations.sandpit.auto.tfvars
To Reproduce
Steps to reproduce the behavior:
Set: restrict_supported_svc = true
run plan or apply
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
/*
when i enabled restrict_supported_svc:
Terraform returned errors:
Error: Invalid template interpolation value
on blueprint_foundations_governance/policies/builtin/allowed_resource_type.tf line 16, in resource "azurerm_policy_assignment" "res_type":
12:
13:
14:
15:
16: "value" : "${var.policies_matrix.list_of_supported_svc}"
17:
18:
19:
20:
|----------------
| var.policies_matrix.list_of_supported_svc is tuple with 2 elements
Cannot include the given value in a string template: string required.
*/
Configuration (please complete the following information):
Describe the bug
I am trying out the caf and enabling settings incrementally. When I set
restrict_supported_svc = true
, the policy deployment fails.Config File:
landingzones/landingzone_caf_foundations/blueprint_foundations.sandpit.auto.tfvars
To Reproduce
Steps to reproduce the behavior:
Set:
restrict_supported_svc = true
run plan or apply
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):
Additional context
Add any other context about the problem here.
The fix is to replace
landingzones/landingzone_caf_foundations/blueprint_foundations_governance/policies/builtin/allowed_resource_type.tf
with:The text was updated successfully, but these errors were encountered: