kops-chart-repo

cloudposse/kops-chart-repo/aws

Terraform Module HCL AWS

Terraform module to provision an S3 bucket for Helm chart repository, and an IAM role and policy with permissions for Kops nodes to access the bucket

Install
module "kops-chart-repo" {
source = "cloudposse/kops-chart-repo/aws"
version = "0.3.0"
}
plain text: /constructs/tfmod-cloudposse-kops-chart-repo-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

[![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) terraform-aws-kops-chart-repo ![Build Status](https://travis-ci.org/cloudposse/terraform-aws-kops-chart-repo) ![Latest Release](https://github.com/cloudposse/terraform-aws-kops-chart-repo/releases/latest) ![Slack Community](https://slack.cloudposse.com) Terraform module to provision an S3 bucket for Helm chart repository, and an IAM role and policy with permissions for Kops nodes to access the bucket. The module uses terraform-aws-kops-metadata to lookup resources within a Kops cluster for easier integration with Terraform. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][

Inputs (11)
NameTypeDescriptionDefault
namespacestringNamespace (e.g. `cp` or `cloudposse`) required
stagestringStage (e.g. `prod`, `dev`, `staging`) required
cluster_namestringKops cluster name (e.g. `us-east-1.cloudposse.com` or `cluster-1.cloudposse.com` required
namestringName (e.g. `chart-repo`)"chart-repo"
attributeslistAdditional attributes (e.g. `1`)[]
delimiterstringDelimiter to be used between `namespace`, `stage`, `name` and `attributes`"-"
tagsmapAdditional tags (e.g. map(`BusinessUnit`,`XYZ`){}
permitted_nodesstringKops kubernetes nodes that are permitted to assume the role (e.g. 'nodes', 'mast"both"
masters_namestringKops masters subdomain name in the cluster DNS zone"masters"
nodes_namestringKops nodes subdomain name in the cluster DNS zone"nodes"
iam_role_max_session_durationstringThe maximum session duration (in seconds) for the role. Can have a value from 1 3600
Outputs (9)
policy_id — IAM policy ID
bucket_id — S3 bucket ID
role_unique_id — IAM role unique ID
role_arn — IAM role ARN
policy_name — IAM policy name
bucket_domain_name — S3 bucket domain name
bucket_arn — S3 bucket ARN
role_name — IAM role name
policy_arn — IAM policy ARN
Resources (4)
aws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_s3_bucket
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud AWS
★ Stars9
Forks6
Total downloads6.6k
Inputs11
Outputs9
Resources4
LicenseApache-2.0
Namespacecloudposse
Updated