secretsmanager-for-rollbar-access-tokens

babbel/secretsmanager-for-rollbar-access-tokens/aws

Terraform Module HCL AWS

Terraform module creating a SecretsManager for Rollbar project access tokens

Install
module "secretsmanager-for-rollbar-access-tokens" {
source = "babbel/secretsmanager-for-rollbar-access-tokens/aws"
version = "3.0.0"
}
plain text: /constructs/tfmod-babbel-secretsmanager-for-rollbar-access-tokens-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

SecretsManager for Rollbar Project Access Tokens This module creates a SecretsManager and stores the configured Rollbar project access tokens in it. This is useful in order to load the Rollbar project access tokens into ECS via containerDefinitions.secrets.valueFrom. Usage ``tf module "secretsmanager-for-rollbar-access-tokens" { source = "babbel/secretsmanager-for-rollbar-access-tokens/aws" version = "~> 2.1" name_prefix = "example" rollbar_tokens = values(rollbar_project_access_token.example) } ` In the ECS task definition, you can now define environment variables referencing the SecretsManager: `tf resource "aws_ecs_task_definition" "example" { ... container_definitions = jsonencode([{ ... secrets = [{ name = "ROLLBAR_ACCESS_TOKEN" value = "${module.secretsmanager-for-rollbar-access-toke

Inputs (4)
NameTypeDescriptionDefault
name_prefixstringName prefix for the SecretsManager. The full name will be ${var.name_prefix}.rol required
rollbar_tokenslist(object({ name List of objects having access tokens names and the token values which shall be l required
secretsmanager_secret_tagsmap(string)Map of tags assigned to the SecretsManager secret created by this module. Tags i{}
default_tagsmap(string)Map of tags assigned to all AWS resources created by this module. {}
Outputs (1)
secretsmanager_secret — The AWS SecretsManager containing the Rollbar project access tokens.
Resources (2)
aws_secretsmanager_secretaws_secretsmanager_secret_version
Details
FrameworkTerraform Module
LanguageHCL
Version3.0.0
Cloud AWS
★ Stars1
Forks2
Total downloads8.2M
Inputs4
Outputs1
Resources2
LicenseMIT
Namespacebabbel
Updated