Skip to content

Commit

Permalink
Updated Fix for Terraform Validate Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard-Barrett committed Oct 29, 2024
1 parent 328aabe commit 30b9153
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 3 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ output "saml_settings_name" {

output "saml_login_url" {
description = "The login URL for SAML"
value = platform_saml_settings.this.login_url
value = platform_saml_settings.this[0].login_url
}

output "saml_logout_url" {
description = "The logout URL for SAML"
value = platform_saml_settings.this.logout_url
value = platform_saml_settings.this[0].logout_url
}

output "saml_provider_name" {
description = "The service provider name for SAML"
value = platform_saml_settings.this.service_provider_name
value = platform_saml_settings.this[0].service_provider_name
}
10 changes: 8 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ variable "scim_group_id" {
}

variable "scim_group_members" {
type = list(string)
type = list(object({
value = string
type = string
}))
description = "Members of SCIM group"
default = []
}
Expand All @@ -124,7 +127,10 @@ variable "scim_user_active" {
}

variable "scim_user_emails" {
type = list(string)
type = list(object({
value = string
type = string
}))
description = "Emails for SCIM user"
sensitive = true
default = []
Expand Down

0 comments on commit 30b9153

Please sign in to comment.