kops-external-dns

cloudposse/kops-external-dns/aws

Terraform Module HCL AWS ⏱ stale 2y 2mo

Terraform module to provision an IAM role for external-dns running in a Kops cluster, and attach an IAM policy to the role with permissions to modify Route53 record sets

Install

module "kops-external-dns" {
source = "cloudposse/kops-external-dns/aws"
version = "0.3.0"
}
⭐ Source on GitHub 📦 Registry page

README

[![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) terraform-aws-kops-external-dns ![Build Status](https://travis-ci.org/cloudposse/terraform-aws-kops-external-dns) ![Latest Release](https://github.com/cloudposse/terraform-aws-kops-external-dns/releases/latest) ![Slack Community](https://slack.cloudposse.com) Terraform module to provision an IAM role for external-dns running in a Kops cluster, and attach an IAM policy to the role with permissions to modify Route53 record sets. Overview This module assumes you are running external-dns in a Kops cluster. It will provision an IAM role with the required permissions and grant the Kops masters the permission to assume it. This is useful to make Kubernetes services discoverable via AWS DNS s

Inputs (11)

NameTypeDescriptionDefault
stagestringStage (e.g. `prod`, `dev`, `staging`) required
namespacestringNamespace (e.g. `cp` or `cloudposse`) required
cluster_namestringKops cluster name (e.g. `us-east-1.cloudposse.co` or `cluster-1.cloudposse.co`) required
dns_zone_nameslistNames of zones to manage (e.g. `us-east-1.cloudposse.co` or `cluster-1.cloudposs required
attributeslistAdditional attributes (e.g. `1`)[]
tagsmapAdditional tags (e.g. map(`Cluster`,`us-east-1.cloudposse.co`){}
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
namestringName (e.g. `external-dns`)"external-dns"
delimiterstringDelimiter to be used between `namespace`, `stage`, `name` and `attributes`"-"

Outputs (6)

role_name — IAM role name
role_unique_id — IAM role unique ID
role_arn — IAM role ARN
policy_name — IAM policy name
policy_id — IAM policy ID
policy_arn — IAM policy ARN

Resources (3)

aws_iam_policyaws_iam_roleaws_iam_role_policy_attachment

Details

FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud AWS
★ Stars6
Forks7
Total downloads6.6k
Inputs11
Outputs6
Resources3
LicenseApache-2.0
Namespacecloudposse
Updated