schema

package
v0.0.0-...-ca1ed16 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	// Custom account identifier
	Name string `yaml:"name,omitempty"`

	// Assume role ARN
	RoleArn string `yaml:"role_arn,omitempty"`
}

Configuration for assume account for AWS

type Config

type Config struct {
	// Resource Provider like AWS, GCP etc...
	Provider string `yaml:"provider"`

	// Multi accounts name and role for AWS Provider
	Accounts []Account `yaml:"accounts,omitempty"`

	// List of regions. Default region of provider will be applied if no region specified
	Regions []string `yaml:"regions,omitempty"`

	// List of resources. All resources will be applied if no resources specified
	Resources []Resource `yaml:"resources,omitempty"`
}

Configuration for redhawk

type Resource

type Resource struct {
	// Resource name
	Name string `yaml:"name"`

	// Whether or not it is a global resource or not
	Global bool `yaml:"global"`
}

Resource configuration with detailed conditions

Jump to

Keyboard shortcuts

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