Difference between revisions of "Terraform resource: aws ssoadmin permission set"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
   instance_arn    = tolist(data.aws_ssoadmin_instances.example.arns)[0]
 
   instance_arn    = tolist(data.aws_ssoadmin_instances.example.arns)[0]
 
   relay_state      = "https://s3.console.aws.amazon.com/s3/home?region=us-east-1#"
 
   relay_state      = "https://s3.console.aws.amazon.com/s3/home?region=us-east-1#"
   session_duration = "PT2H"
+
   [[session_duration]] = "[[PT2H]]"
 
  }
 
  }
  

Revision as of 18:08, 27 February 2023

Official example

data "aws_ssoadmin_instances" "example" {}

resource "aws_ssoadmin_permission_set" "example" {
  name             = "Example"
  description      = "An example"
  instance_arn     = tolist(data.aws_ssoadmin_instances.example.arns)[0]
  relay_state      = "https://s3.console.aws.amazon.com/s3/home?region=us-east-1#"
  session_duration = "PT2H"
}

See also

Advertising: