Skip to content

Latest commit

 

History

History

aws-s3-authorized-keys

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Requirements

Name Version
terraform >= 1.0
aws >= 4.0, < 5.0

Providers

Name Version
aws >= 4.0, < 5.0
template n/a

Modules

No modules.

Resources

Name Type
aws_iam_policy.read_only resource
aws_s3_bucket.keys resource
aws_s3_bucket_object.ssh_keys resource
aws_s3_bucket_public_access_block.key resource
aws_iam_policy_document.read_only data source
template_file.update_ssh_authorized_keys data source
template_file.user_data_chunk data source

Inputs

Name Description Type Default Required
bucket_name Name of bucket to store SSH keys string n/a yes
keys_update_frequency How often keys should be fetched from S3 bucket string "0 * * * *" no
ssh_keys n/a
list(object({
name = string,
public_key = string
}))
n/a yes
ssh_user User to use to login to instance string n/a yes

Outputs

Name Description
keys_s3_bucket n/a
keys_s3_read_only_policy_arn n/a
user_data_chunk n/a