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
The terraform plan should have produced an output similar to the below output which is produced when I comment out the platform linux:
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
Terraform will perform the following actions:
# azuread_conditional_access_policy.block_unknown_platforms will be created
+ resource "azuread_conditional_access_policy""block_unknown_platforms" {
+ display_name = "block access when using using unknown platforms"
+ id = (known after apply)
+ state = "enabledForReportingButNotEnforced"
+ conditions {
+ client_app_types = [
+ "all",
]
+ applications {
+ included_applications = [
+ "All",
]
}
+ locations {
+ included_locations = [
+ "All",
]
}
+ platforms {
+ excluded_platforms = [
+ "android",
+ "macOS",
+ "iOS",
+ "windows",
]
+ included_platforms = [
+ "all",
]
}
+ users {
+ included_users = [
+ "All",
]
}
}
+ grant_controls {
+ built_in_controls = [
+ "block",
]
+ operator = "OR"
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Actual Behavior
The below error was produced.
╷
│ Error: expected conditions.0.platforms.0.excluded_platforms.4 to be one of [all android iOS macOS unknownFutureValue windows windowsPhone], got linux
│
│ with azuread_conditional_access_policy.block_unknown_platforms,
│ on 2302_DGSTD302_tests.tf line 24, in resource "azuread_conditional_access_policy" "block_unknown_platforms":
│ 24: "linux"
│
Steps to Reproduce
terraform plan
Important Factoids
The conditionalAccessPlatforms resource in the Azure Graph API v1.0 now supports the value Linux as noted in the below reference.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Community Note
Terraform (and AzureAD Provider) Version
Terraform v1.1.8
on windows_amd64
Affected Resource(s)
azuread_conditional_access_policy
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The terraform plan should have produced an output similar to the below output which is produced when I comment out the platform linux:
Actual Behavior
The below error was produced.
╷
│ Error: expected conditions.0.platforms.0.excluded_platforms.4 to be one of [all android iOS macOS unknownFutureValue windows windowsPhone], got linux
│
│ with azuread_conditional_access_policy.block_unknown_platforms,
│ on 2302_DGSTD302_tests.tf line 24, in resource "azuread_conditional_access_policy" "block_unknown_platforms":
│ 24: "linux"
│
Steps to Reproduce
terraform plan
Important Factoids
The conditionalAccessPlatforms resource in the Azure Graph API v1.0 now supports the value Linux as noted in the below reference.
References
The text was updated successfully, but these errors were encountered: