Skip to content

Compatible Consul Terraform Sync module used for development

License

Notifications You must be signed in to change notification settings

tristanmorgan/terraform-cts-print

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Consul Print Module for Consul Terraform Sync

This Terraform module creates text files on your local machine containing Consul service information. It is a useful module to use to familiarize yourself with Consul Terraform Sync without requiring deployed infrastructure and credentials.

Feature

The module uses the local Terraform provider to create local text files with information of monitored Consul services for a CTS task.

Requirements

Ecosystem Requirements

Ecosystem Version
consul >= 1.7
consul-terraform-sync >= 0.1.0
terraform >= 0.13

Terraform Providers

Name Version
local >= 2.0.0

Setup

There are no setup requirements for automating this module with Consul Terraform Sync.

To view the generated files, you can navigate to the default ./sync-tasks/<task-name> working directory of Consul Terraform Sync or the configured driver.terraform.working_dir path. There you may see new .txt files after running a CTS task with this module.

Usage

User Config for Consul Terraform Sync

example.hcl

task {
  name        = "example"
  source      = "findkim/print/cts"
  version     = "0.1.0"
  services    = ["web", "api"]
}

About

Compatible Consul Terraform Sync module used for development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%