Skip to content

schubergphilis/terraform-aws-mcaf-edgedevice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-mcaf-edgedevice

Requirements

Name Version
terraform >= 0.13

Providers

Name Version
aws n/a
http n/a

Inputs

Name Description Type Default Required
name The name of the edge device string n/a yes
tags A mapping of tags to assign to the SSM Parameter map(string) n/a yes
expiration_duration The expiration period of the SSM activation, default 4 weeks string "672h" no
iot_policy The policy to attach to the Thing string null no
kms_key_id The KMS key ID used to encrypt all data string null no
ssm_activation_role_id The ID of the role to attach to the SSM activation string null no

Outputs

Name Description
arn ARN of the thing
certificate_arn ARN of the certificate
certificate_id Id of the certificate
certificate_pem Path of the SSM Parameter for IoT certificate pem
certificate_private_key Path of the SSM Parameter for IoT certificate private key
certificate_public_key Path of the SSM Parameter for IoT certificate public key
name Name of the thing

Requirements

Name Version
terraform >= 0.13
aws >= 5.40.0

Providers

Name Version
aws >= 5.40.0
http n/a

Modules

No modules.

Resources

Name Type
aws_iam_role.ssm_activation resource
aws_iam_role_policy_attachment.ssm_activation resource
aws_iot_certificate.default resource
aws_iot_policy.default resource
aws_iot_policy_attachment.default resource
aws_iot_thing.default resource
aws_iot_thing_principal_attachment.default resource
aws_ssm_activation.default resource
aws_ssm_parameter.certificate_pem resource
aws_ssm_parameter.private_key resource
aws_ssm_parameter.public_key resource
aws_ssm_parameter.root_ca_crt resource
aws_ssm_parameter.ssm_activation resource
aws_iam_policy_document.default data source
aws_iam_policy_document.ssm_activation data source
http_http.root_ca data source

Inputs

Name Description Type Default Required
name The name of the edge device string n/a yes
tags A mapping of tags to assign to the SSM Parameter map(string) n/a yes
create_ssm_activation The Flag which determines if SSM activation resouces should be created bool true no
expiration_duration The expiration period of the SSM activation, default 4 weeks string "672h" no
iot_policy The policy to attach to the Thing string null no
kms_key_id The KMS key ID used to encrypt all data string null no
ssm_activation_role_id The ID of the role to attach to the SSM activation string null no

Outputs

Name Description
arn ARN of the thing
certificate_arn ARN of the certificate
certificate_id Id of the certificate
certificate_pem Path of the SSM Parameter for IoT certificate pem
certificate_private_key Path of the SSM Parameter for IoT certificate private key
certificate_public_key Path of the SSM Parameter for IoT certificate public key
name Name of the thing