dns

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Cloudflare represents DNS managed in Cloudflare.
	Cloudflare = "cloudflare"
	// Manual represents a manual DNS configuration.
	Manual = "manual"
	// Route53 represents DNS managed in Route 53.
	Route53 = "route53"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Provider string `hcl:"provider"`
	Zone     string `hcl:"zone"`
}

Config represents a Lokomotive DNS configuration.

func (*Config) ManualConfigPrompt added in v0.4.0

func (c *Config) ManualConfigPrompt() terraform.ExecutionHook

ManualConfigPrompt returns a terraform.ExecutionHook which prompts the user to configure DNS entries manually and verifies the entries were created successfully.

func (*Config) Validate added in v0.2.0

func (c *Config) Validate() error

Validate ensures the specified DNS provider is valid.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL