AWS OpsWorks User Profile
This page shows how to write Terraform and CloudFormation for OpsWorks User Profile and write them securely.
aws_opsworks_user_profile (Terraform)
The User Profile in OpsWorks can be configured in Terraform with the resource name aws_opsworks_user_profile
. The following sections describe 2 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_opsworks_user_profile" "opsworks_user_profile" {
count = var.enable_opsworks_user_profile ? 1 : 0
user_arn = var.opsworks_user_profile_user_arn
ssh_username = var.opsworks_user_profile_ssh_username
resource "aws_opsworks_user_profile" "opsworks_user_profile" {
count = var.enable_opsworks_user_profile ? 1 : 0
user_arn = var.opsworks_user_profile_user_arn
ssh_username = var.opsworks_user_profile_ssh_username
Parameters
-
allow_self_management
optional - bool -
id
optional computed - string -
ssh_public_key
optional - string -
ssh_username
required - string -
user_arn
required - string
Explanation in Terraform Registry
Provides an OpsWorks User Profile resource.
AWS::OpsWorks::UserProfile (CloudFormation)
The UserProfile in OpsWorks can be configured in CloudFormation with the resource name AWS::OpsWorks::UserProfile
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
AllowSelfManagement
optional - Boolean -
IamUserArn
required - String -
SshPublicKey
optional - String -
SshUsername
optional - String
Explanation in CloudFormation Registry
Describes a user's SSH information.
Frequently asked questions
What is AWS OpsWorks User Profile?
AWS OpsWorks User Profile is a resource for OpsWorks of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS OpsWorks User Profile?
For Terraform, the asrkata/SebastianUA-terraform and SebastianUA/terraform source code examples are useful. See the Terraform Example section for further details.