Skip to main content

AwsCredentialsAccountModuleSchema

AwsCredentialsAccountModuleSchema is the input schema for the AwsCredentialsAccountModule module: an AWS account octo signs in to with an access key and its secret.

@group

Modules/Account/AwsCredentialsAccount

@see

AwsCredentialsAccountModule to learn more about the AwsCredentialsAccountModule module.

Index

Properties

accountId

accountId: string

The id of the AWS account the credentials sign in to, e.g. 123456789012. Terraform refuses to run when the credentials belong to another account.

app

app: App

The app the account belongs to.

credentials

credentials: { accessKeyId: string; secretAccessKey: string }

The access key of an IAM user or role in the account, as accessKeyId and secretAccessKey. Pass them from the environment, e.g. ${{env.AWS_SECRET_ACCESS_KEY}}, never written into octo.yaml.


Type declaration

  • accessKeyId: string
  • secretAccessKey: string

optionalendpoints

endpoints?: Record<string, string> = {}

An endpoint URL per AWS service, to reach a service somewhere other than AWS's own endpoints. Each key is the service's name in the Terraform AWS provider, e.g. s3, ec2 or sts.

Page Options