api-gateway-cloudwatch-role

dod-iac/api-gateway-cloudwatch-role/aws

Terraform Module HCL AWS

IAM Role for use by AWS API Gateway to log to CloudWatch Logs.

Install
module "api-gateway-cloudwatch-role" {
source = "dod-iac/api-gateway-cloudwatch-role/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-dod-iac-api-gateway-cloudwatch-role-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Usage Creates an IAM Role for use by AWS API Gateway to log to CloudWatch Logs. ``hcl module "api_gateway_cloudwatch_role" { source = "dod-iac/api-gateway-cloudwatch-role/aws" name = "api-gateway-cloudwatch-role" tags = { Automation = "Terraform" } } resource "aws_api_gateway_account" "main" { cloudwatch_role_arn = module.api_gateway_cloudwatch_role.arn } ` Terraform Version Terraform 0.12. Pin module version to ~> 1.0.0 . Submit pull-requests to master branch. Terraform 0.11 is not supported. License This project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC § 105. However, because the project utilizes code licensed from contributors and other third parties, it therefore is licensed under the MIT License. See LICENSE fi

Inputs (2)
NameTypeDescriptionDefault
namestringName of the AWS IAM Role."api-gateway-cloudwatch-role"
tagsmap(string)Tags applied to the AWS IAM Role.{}
Outputs (2)
arn — The Amazon Resource Name (ARN) of the AWS IAM Role.
name — The name of the AWS IAM Role.
Resources (3)
aws_iam_policyaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars1
Forks1
Total downloads58.5k
Inputs2
Outputs2
Resources3
LicenseMIT
Namespacedod-iac
Updated