Skip to content

provides an opinionated module to create a namespace service role for ec2 and lambdas with general prefix and namespace access for KMS, S3, SNS, SQS, SES, SecretsManager, SSM parameter store, and core SSM for creating ec2 sessions.

License

Notifications You must be signed in to change notification settings

MagusDevOps/terraform-aws-namespace-service-role

Repository files navigation

terraform-aws-namespace-service-role

Usage

module "namespace-service-role" {
  source            = "MagusDevOps/namespace-service-role/aws"
  version           = "x.x.x"
  account_id        = "${var.account_id}"
  ...
}

Requirements

No requirements.

Providers

The following providers are used by this module:

  • aws

Required Inputs

The following input variables are required:

account_id

Description: AWS account ID

Type: string

namespace

Description: a name that provides a logical grouping of resources

Type: string

prefix

Description: a string that provides a differentiation an environment

Type: string

Optional Inputs

The following input variables are optional (have default values):

additional_tags

Description: A map of additional tags

Type: map

Default: {}

namespace_tag_key

Description: tag key for the namespace variables

Type: string

Default: "namespace"

prefix_tag_key

Description: the prefix tag key defaults to 'environment'

Type: string

Default: "environment"

Outputs

The following outputs are exported:

role_name

role_arn

About

provides an opinionated module to create a namespace service role for ec2 and lambdas with general prefix and namespace access for KMS, S3, SNS, SQS, SES, SecretsManager, SSM parameter store, and core SSM for creating ec2 sessions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages