Skip to content

Commit 8585b25

Browse files
Initial module for aws_kms_key
* Include test with inline policy * Supports all major aws_kms_key resource features in v5.x of the provider
1 parent c8f1307 commit 8585b25

File tree

27 files changed

+2595
-0
lines changed

27 files changed

+2595
-0
lines changed

.gitignore

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
terraform.*
2+
.repo/
3+
components/
4+
.semverbot.toml
5+
.tflint.hcl
6+
.golangci.yaml
7+
8+
.idea
9+
!examples/*.tfvars
10+
11+
# We don't want to commit the test run lock files
12+
.terraform.lock.hcl
13+
14+
# Don't include the .test-data directory created by Terratest's test-structure module
15+
**/.test-data/*
16+
17+
# Local .terraform directories
18+
**/.terraform/*
19+
20+
# Local .terragrunt directories
21+
**/.terragrunt/*
22+
23+
# .tfstate files
24+
*.tfstate
25+
*.tfstate.*
26+
27+
# tfplan files
28+
*.tfplan
29+
30+
# Crash log files
31+
crash.log
32+
crash.*.log
33+
34+
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
35+
# password, private keys, and other secrets. These should not be part of version
36+
# control as they are data points which are potentially sensitive and subject
37+
# to change depending on the environment.
38+
*.tfvars.json
39+
*.auto.tfvars
40+
41+
# Ignore override files as they are usually used to override resources locally and so
42+
# are not checked in
43+
override.tf
44+
override.tf.json
45+
*_override.tf
46+
*_override.tf.json
47+
provider.tf
48+
49+
# Include override files you do wish to add to version control using negated pattern
50+
# !example_override.tf
51+
52+
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
53+
# example: *tfplan*
54+
55+
# Ignore CLI configuration files
56+
.terraformrc
57+
terraform.rc
58+
59+
# Files from common modules
60+
azure_env.sh
61+
.releaserc.json
62+
.tflint.hcl
63+
64+
# Pre-commit hook
65+
.pre-commit-config.yaml
66+
67+
# VS Code
68+
.vscode/
69+
70+
# Layer build files
71+
**/build/
72+
**/builds/
73+
**/lambda_layer
74+
**/lambda_layer.zip
75+
**/*.egg-info
76+
77+
vendor/

.lcafenv

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Use this file to preset variables used by the Makefile.
2+
# This file will be included when make is run. The variables below will
3+
# take precedence over what is defined in Makefile when they are set. This
4+
# allows overriding certain settings without modifying the Makefile.
5+
6+
# REPO_MANIFESTS_URL="https://github.com/launchbynttdata/launch-common-automation-framework.git"
7+
# REPO_BRANCH="refs/tags/1.0.0"
8+
# REPO_MANIFEST="manifests/terraform_modules/seed/manifest.xml"
9+
# REPO_URL="https://github.com/launchbynttdata/git-repo.git"
10+
# REPO_REV="main"
11+
# GITBASE="https://github.com/launchbynttdata/"
12+
# GITREV="main"
13+
# IS_PIPELINE="false"
14+
# IS_AUTHENTICATED="false"
15+
# JOB_NAME="job"
16+
# JOB_EMAIL="[email protected]"
17+
# PLATFORM_VER=
18+
# CONTAINER_VER=
19+
# PIPELINES_VER=
20+
# WEBHOOK_VER=
21+
# PYTHON_VER=
22+
# TERRAGRUNT_VER=
23+
# TERRAFORM_VER=

.secrets.baseline

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"version": "1.5.44",
3+
"plugins_used": [
4+
{
5+
"name": "ArtifactoryDetector"
6+
},
7+
{
8+
"name": "AWSKeyDetector"
9+
},
10+
{
11+
"name": "AzureStorageKeyDetector"
12+
},
13+
{
14+
"name": "Base64HighEntropyString",
15+
"limit": 4.5
16+
},
17+
{
18+
"name": "BasicAuthDetector"
19+
},
20+
{
21+
"name": "CloudantDetector"
22+
},
23+
{
24+
"name": "DiscordBotTokenDetector"
25+
},
26+
{
27+
"name": "GitHubTokenDetector"
28+
},
29+
{
30+
"name": "HexHighEntropyString",
31+
"limit": 3.0
32+
},
33+
{
34+
"name": "IbmCloudIamDetector"
35+
},
36+
{
37+
"name": "IbmCosHmacDetector"
38+
},
39+
{
40+
"name": "JwtTokenDetector"
41+
},
42+
{
43+
"name": "KeywordDetector",
44+
"keyword_exclude": ""
45+
},
46+
{
47+
"name": "MailchimpDetector"
48+
},
49+
{
50+
"name": "NpmDetector"
51+
},
52+
{
53+
"name": "PrivateKeyDetector"
54+
},
55+
{
56+
"name": "SendGridDetector"
57+
},
58+
{
59+
"name": "SlackDetector"
60+
},
61+
{
62+
"name": "SoftlayerDetector"
63+
},
64+
{
65+
"name": "SquareOAuthDetector"
66+
},
67+
{
68+
"name": "StripeDetector"
69+
},
70+
{
71+
"name": "TwilioKeyDetector"
72+
}
73+
],
74+
"filters_used": [
75+
{
76+
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
77+
},
78+
{
79+
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
80+
"min_level": 2
81+
},
82+
{
83+
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
84+
},
85+
{
86+
"path": "detect_secrets.filters.heuristic.is_likely_id_string"
87+
},
88+
{
89+
"path": "detect_secrets.filters.heuristic.is_lock_file"
90+
},
91+
{
92+
"path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string"
93+
},
94+
{
95+
"path": "detect_secrets.filters.heuristic.is_potential_uuid"
96+
},
97+
{
98+
"path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign"
99+
},
100+
{
101+
"path": "detect_secrets.filters.heuristic.is_sequential_string"
102+
},
103+
{
104+
"path": "detect_secrets.filters.heuristic.is_swagger_file"
105+
},
106+
{
107+
"path": "detect_secrets.filters.heuristic.is_templated_secret"
108+
}
109+
],
110+
"results": {},
111+
"generated_at": "2025-10-27T16:34:35Z"
112+
}

.tool-versions

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
conftest 0.56.0
2+
golang 1.24.2
3+
golangci-lint 2.2.1
4+
pre-commit 4.2.0
5+
regula 3.2.1 # https://github.com/launchbynttdata/asdf-regula
6+
terraform 1.10.3
7+
terraform-docs 0.20.0
8+
terragrunt 0.77.22
9+
tflint 0.57.0

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @launchbynttdata/terraform-administrators

0 commit comments

Comments
 (0)