{"id":19580489,"url":"https://github.com/dod-iac/terraform-aws-api-gateway-cloudwatch-role","last_synced_at":"2025-10-09T05:06:02.202Z","repository":{"id":53828135,"uuid":"256220796","full_name":"dod-iac/terraform-aws-api-gateway-cloudwatch-role","owner":"dod-iac","description":"IAM Role for use by AWS API Gateway to log to CloudWatch Logs.","archived":false,"fork":false,"pushed_at":"2021-03-12T00:50:35.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-09T05:18:01.477Z","etag":null,"topics":["aws","cloudwatch","terraform"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/dod-iac/api-gateway-cloudwatch-role/aws","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dod-iac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-16T13:20:06.000Z","updated_at":"2021-08-04T18:49:03.000Z","dependencies_parsed_at":"2022-08-21T19:20:15.560Z","dependency_job_id":null,"html_url":"https://github.com/dod-iac/terraform-aws-api-gateway-cloudwatch-role","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-api-gateway-cloudwatch-role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-api-gateway-cloudwatch-role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-api-gateway-cloudwatch-role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dod-iac%2Fterraform-aws-api-gateway-cloudwatch-role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dod-iac","download_url":"https://codeload.github.com/dod-iac/terraform-aws-api-gateway-cloudwatch-role/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240849053,"owners_count":19867617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","cloudwatch","terraform"],"created_at":"2024-11-11T07:26:49.193Z","updated_at":"2025-10-09T05:05:57.155Z","avatar_url":"https://github.com/dod-iac.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Usage\n\nCreates an IAM Role for use by AWS API Gateway to log to CloudWatch Logs.\n\n```hcl\nmodule \"api_gateway_cloudwatch_role\" {\n  source = \"dod-iac/api-gateway-cloudwatch-role/aws\"\n\n  name = \"api-gateway-cloudwatch-role\"\n  tags = {\n    Automation  = \"Terraform\"\n  }\n}\n\nresource \"aws_api_gateway_account\" \"main\" {\n  cloudwatch_role_arn = module.api_gateway_cloudwatch_role.arn\n}\n```\n\n## Terraform Version\n\nTerraform 0.12. Pin module version to ~\u003e 1.0.0 . Submit pull-requests to master branch.\n\nTerraform 0.11 is not supported.\n\n## License\n\nThis 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 file for more information.\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| terraform | \u003e= 0.13 |\n| aws | ~\u003e 3.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | ~\u003e 3.0 |\n\n## Modules\n\nNo Modules.\n\n## Resources\n\n| Name |\n|------|\n| [aws_caller_identity](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) |\n| [aws_iam_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy) |\n| [aws_iam_policy_document](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document) |\n| [aws_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role) |\n| [aws_iam_role_policy_attachment](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role_policy_attachment) |\n| [aws_partition](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition) |\n| [aws_region](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| name | Name of the AWS IAM Role. | `string` | `\"api-gateway-cloudwatch-role\"` | no |\n| tags | Tags applied to the AWS IAM Role. | `map(string)` | `{}` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| arn | The Amazon Resource Name (ARN) of the AWS IAM Role. |\n| name | The name of the AWS IAM Role. |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdod-iac%2Fterraform-aws-api-gateway-cloudwatch-role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdod-iac%2Fterraform-aws-api-gateway-cloudwatch-role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdod-iac%2Fterraform-aws-api-gateway-cloudwatch-role/lists"}