Creates a Redshift authentication profile
resource "aws_redshift_authentication_profile" "example" {
authentication_profile_name = "example"
authentication_profile_content = jsonencode(
{
AllowDBUserOverride = "1"
Client_ID = "ExampleClientID"
App_ID = "example"
}
)
}
This resource supports the following arguments:
authentication_profile_name
- (Required, Forces new resource) The name of the authentication profile.authentication_profile_content
- (Required) The content of the authentication profile in JSON format. The maximum length of the JSON string is determined by a quota for your account.This resource exports the following attributes in addition to the arguments above:
id
- The name of the authentication profile.In Terraform v1.5.0 and later, use an import
block to import Redshift Authentication by authentication_profile_name
. For example:
import {
to = aws_redshift_authentication_profile.test
id = "example"
}
Using terraform import
, import Redshift Authentication by authentication_profile_name
. For example:
% terraform import aws_redshift_authentication_profile.test example