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

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssoadmin_permission_set
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssoadmin_permission_set
  aws_ssoadmin_permission_set
+
* <code>aws_ssoadmin_permission_set</code>
 +
 
 +
== 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 ==
 
== See also ==

Revision as of 18:07, 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: