Skip to content

Latest commit

 

History

History
96 lines (68 loc) · 4.55 KB

README.md

File metadata and controls

96 lines (68 loc) · 4.55 KB

terraform-polkadot-user-data

WIP

Features

This module builds user data scripts for polkadot nodes. Includes some sane defaults for prometheus node exporter and consul config.

Terraform versions

For Terraform v0.12.0+

Usage

module "this" {
    source = "github.com/robc-io/terraform-polkadot-user-data"
    type = "sentry"
}

Examples

Known issues

No issue is creating limit on this module.

Requirements

No requirements.

Providers

Name Version
template n/a

Modules

No modules.

Resources

Name Type
template_file.bastion_s3 data source
template_file.cloudwatch data source
template_file.prometheus_consul data source
template_file.sentry data source
template_file.user_data data source
template_file.validator data source

Inputs

Name Description Type Default Required
boot_drive_nvme Boolean to set if instance boot drive is also nvme bool false no
cloud_provider What provider is this node running on? string n/a yes
disable_ipv6 Disable ipv6 in grub bool true no
driver_type The ebs volume driver - nitro or standard string "nitro" no
enable_hourly_cron_updates n/a string "false" no
keys_update_frequency n/a string "" no
log_config_bucket n/a string "" no
log_config_key n/a string "" no
mount_volumes Boolean to mount volume bool true no
node_tags The tag to put into the node exporter for consul to pick up the tag of the instance and associate the proper metrics string "prep" no
prometheus_enabled Download and start node exporter bool false no
prometheus_password Password to pass through for node exporter string "" no
prometheus_user Username to pass through for node exporter string "" no
region The region you are deploying into - only relevant for consul string "" no
s3_bucket_name n/a string "" no
s3_bucket_uri n/a string "" no
ssh_user n/a string "ubuntu" no
type Type of node - ie sentry / validator, - more to come string "sentry" no

Outputs

Name Description
user_data n/a

Authors

Module managed by robc-io

Credits

License

Apache 2 Licensed. See LICENSE for full details.