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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by one other user not shown)
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]]"
 +
}
 +
 
 +
== Related ==
 +
* <code>[[aws_ssoadmin_managed_policy_attachment]]</code>
 +
* <code>[[aws identitystore]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 15:48, 14 March 2023

Official example[edit]

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"
}

Related[edit]

See also[edit]

Advertising: