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

opsworks_user_profile.tf#L4
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

opsworks_user_profile.tf#L4
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

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

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

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.