This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Custom Validation Rule Examples | |
variable "alias_attributes" { | |
type = set(string) | |
description = "(Optional) Attributes supported as an alias for this user pool. Possible values: 'phone_number', 'email', or 'preferred_username'." | |
default = [ | |
"email", | |
"preferred_username", | |
] | |
validation { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
ActionContext, | |
ActionTree, | |
GetterTree, | |
MutationTree, | |
Module, | |
Store as VuexStore, | |
CommitOptions, | |
DispatchOptions, | |
} from 'vuex' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"address": "0xd4f83Fc6a0f0Ed1799C4f26279405fA91BAc2BbC", | |
"name": "Master-Nodes.io Strongblock I", | |
"logo": "https://www.master-nodes.io/wp-content/uploads/2018/10/master-nodes-io-logo.png", | |
"description": "We love Masternodes!", | |
"website_url": "https://www.master-nodes.io", | |
"rpc_endpoint": "http://eth-mainnet.master-nodes.io:8545", | |
"ws_endpoint": "ws://eth-mainnet.master-nodes.io:8546", | |
"location": "Germany", | |
"email": "[email protected]", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
ActionContext, | |
ActionTree, | |
GetterTree, | |
MutationTree, | |
Module, | |
Store as VuexStore, | |
CommitOptions, | |
DispatchOptions, | |
} from 'vuex' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set default shell to bash | |
SHELL := /bin/bash -o pipefail | |
BUILD_TOOLS_VERSION ?= v0.5.3 | |
BUILD_TOOLS_DOCKER_REPO = mineiros/build-tools | |
BUILD_TOOLS_DOCKER_IMAGE ?= ${BUILD_TOOLS_DOCKER_REPO}:${BUILD_TOOLS_VERSION} | |
TERRAFORM_PLANFILE ?= out.tfplan | |
ifndef NOCOLOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stack { | |
name = "My stack" | |
description = "My stack description" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file: stacks/config.tm | |
globals { | |
# define a bucket name that is used when generating backend.tf defined below | |
gcs_bucket_name = "my-state-bucket" | |
# the following will calculate the path name of each stack | |
# but remove the / prefix as gcs does not handle this well | |
gcs_bucket_prefix = tm_substr(terramate.path, 1, -1) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT | |
// TERRAMATE: originated from generate_hcl block on /stacks/config.tm | |
terraform { | |
backend "gcs" { | |
bucket = "my-state-bucket" | |
prefix = "stacks/gcp-projects/my-staging/my-vpc" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TERRAMATE: GENERATED AUTOMATICALLY DO NOT EDIT | |
// TERRAMATE: originated from generate_hcl block on /stacks/config.tm | |
terraform { | |
backend "gcs" { | |
bucket = "my-state-bucket" | |
prefix = "stacks/gcp-projects/my-prod/my-vpc" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stack { | |
name = "My production VPC" | |
after = [ | |
"/stacks/gcp-projects/my-staging/my-vpc", | |
] | |
} |