forked from Resourcely-Inc/scaffolding-github-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.resourcely.yaml
79 lines (72 loc) · 2.49 KB
/
.resourcely.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: "2"
terraform_config_roots:
- name: Example project
description: "Scaffolding project that demonstrates how to
integrate Resourcely with a Github Actions-based Terraform
workflow."
# Type of config root. Each type has its own set of configuration options.
#
# Allowed Values:
# simple - the config root is a Terraform root module itself.
#
# Environments:
# It is common to apply a Terraform config to multiple environments, each
# with its own Terraform state file.
#
# `simple` config roots use Terraform variables and per-env *.tfvars files
# for environment-specific values. The config contains references to
# Terraform variables. The per-env *.tfvars files define the values of
# those variables in each env.
type: simple
# Path to the config root, the directory containing the *.tf
# files.
#
# Relative to the location of this .resourcely.yaml file
#
# If the config root is the same directory, specify
# path: .
path: .
# Name of the file in the `path` directory in which to place
# new resources by default.
#
# Developers may pick a different file, but will be defaulted to this one.
default_file: main.tf
# Uncomment to enabled environment-specific values
# # (optional)
# #
# # Name of the file in the `path` directory in which to place new
# # variable declarations for new environment-specific values.
# #
# var_file: variables.tf
#
# # (optional)
# #
# # List of the environments that this config root supports.
# #
# # If this list is missing or empty, developers will not be allowed
# # to use environment-specific values.
# #
# # If non-empty, a developers will be allowed to use environment-specific
# # values. For any environment variable, they will have to supply a value
# # for each environment in this list.
# #
# environments:
# -
# # Name of the environment.
# #
# # This name is used for two purposes.
# # 1. It is shown in the UI to the developers.
# # 2. It is used as the value for `context.environment` in guardrails
# # and blueprints.
# name: dev
#
# # Name of the file in which to place the variables definitions
# # for this environment.
# #
# # Relative to the config root `path` directory.
# #
# tfvars_file: envs/dev.tfvars
#
# -
# name: prod
# tfvars_file: envs/prod.tfvars