Terraform resource for managing an AWS SSO Admin Application Assignment Configuration.
By default, applications will require users to have an explicit assignment in order to access an application. This resource can be used to adjust this default behavior if necessary.
resource "aws_ssoadmin_application_assignment_configuration" "example" {
application_arn = aws_ssoadmin_application.example.application_arn
assignment_required = true
}
The following arguments are required:
application_arn
- (Required) ARN of the application.assignment_required
- (Required) Indicates whether users must have an explicit assignment to access the application. If false
, all users have access to the application.This resource exports the following attributes in addition to the arguments above:
id
- ARN of the application.In Terraform v1.5.0 and later, use an import
block to import SSO Admin Application Assignment Configuration using the id
. For example:
import {
to = aws_ssoadmin_application_assignment_configuration.example
id = "arn:aws:sso::012345678901:application/id-12345678"
}
Using terraform import
, import SSO Admin Application Assignment Configuration using the id
. For example:
% terraform import aws_ssoadmin_application_assignment_configuration.example arn:aws:sso::012345678901:application/id-12345678