Skip to content

user-data scripts to bootstrap instances for the ICON Blockchain

License

Notifications You must be signed in to change notification settings

insight-icon/terraform-aws-icon-user-data

Repository files navigation

terraform-aws-icon-user-data

[![open-issues](https://img.shields.io/github/issues-raw/robc-io/terraform-aws-icon-user-data ?style=for-the-badge)](https://github.com/robc-io/terraform-aws-icon-user-data /issues) [![open-pr](https://img.shields.io/github/issues-pr-raw/robc-io/terraform-aws-icon-user-data ?style=for-the-badge)](https://github.com/robc-io/terraform-aws-icon-user-data /pulls)

Features

This module outputs user data scripts for nodes on the ICON Blockchain.

Terraform Versions

For Terraform v0.12.0+

Usage

module "this" {
    source = "github.com/robc-io/terraform-aws-icon-user-data "
    type = "prep"
}

Examples

Known Issues

No issue is creating limit on this module.

Providers

Name Version
template n/a

Inputs

Name Description Type Default Required
consul_enabled Bool for consul bool false no
disable_ipv6 Bool for ipv6 bool false no
driver_type standard or nitro (nvme) drivers string "" no
enable_hourly_cron_updates n/a string "false" no
instance_store_enabled Bool to indicate attached storage bool false no
keys_update_frequency n/a string "" no
linux_os The OS flavor string "debian" no
log_config_bucket n/a string "" no
log_config_key n/a string "" no
nlb_dns n/a string "" 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
prep_ip IP of prep string "" no
prometheus_enabled Bool for prom bool false no
s3_bucket_name n/a string "" no
s3_bucket_uri n/a string "" no
ssh_user n/a string "ubuntu" no
type The type of instance - prep, citizen, sentry string "prep" no
vpc_cidr #### NAT #### string "" no

Outputs

Name Description
user_data n/a

Testing

This module has been packaged with terratest tests

To run them:

  1. Install Go
  2. Run make test-init from the root of this repo
  3. Run make test again from root

Authors

Module managed by robc-io

Credits

License

Apache 2 Licensed. See LICENSE for full details.