diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6f98693 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,13 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 +# Use a package of configuration called an orb. +orbs: + # Declare a dependency on the welcome-orb + welcome: circleci/welcome-orb@0.4.1 +# Orchestrate or schedule a set of jobs +workflows: + # Name the workflow "welcome" + welcome: + # Run the welcome/run job in its own container + jobs: + - welcome/run diff --git a/README.md b/README.md index 25f4d49..b20f9cb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ +![](https://img.shields.io/badge/Stability-Experimental-red.svg) + This terraform code configures a Ubuntu virtual machine on packet and configures BIRD for BGP routing. +This repository is [Experimental](https://github.com/packethost/standards/blob/master/experimental-statement.md) meaning that it's based on untested ideas or techniques and not yet established or finalized or involves a radically new and innovative style! This means that support is best effort (at best!) and we strongly encourage you to NOT use this in production. ### Requirements diff --git a/instance.tf b/instance.tf index 16e5cba..376f7d9 100644 --- a/instance.tf +++ b/instance.tf @@ -12,6 +12,7 @@ resource "packet_reserved_ip_block" "elastic_ip" { resource "packet_device" "hosts" { depends_on = ["packet_ssh_key.ssh-key"] + hostname = "${format("%s-%02d", var.sites[count.index], count.index)}" plan = "t1.small.x86"