WIP
This module builds user data scripts for polkadot nodes. Includes some sane defaults for prometheus node exporter and consul config.
For Terraform v0.12.0+
module "this" {
source = "github.com/robc-io/terraform-polkadot-user-data"
type = "sentry"
}
No issue is creating limit on this module.
No requirements.
Name | Version |
---|---|
template | n/a |
No modules.
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 |
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 |
Name | Description |
---|---|
user_data | n/a |
Module managed by robc-io
Apache 2 Licensed. See LICENSE for full details.