-
Notifications
You must be signed in to change notification settings - Fork 18
/
README.yaml
136 lines (109 loc) · 4.87 KB
/
README.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#
# This is the canonical configuration for the `README.md`
# Run `make readme` to rebuild the `README.md`
#
# Name of this project
name: terraform-provider-utils
# Logo for this project
#logo: docs/logo.png
# License of this project
license: "APACHE2"
# Copyrights
copyrights:
- name: "Cloud Posse, LLC"
url: "https://cloudposse.com"
year: "2021"
# Canonical GitHub repo
github_repo: cloudposse/terraform-provider-utils
# Badges to display
badges:
- name: Tests
image: https://img.shields.io/github/actions/workflow/status/cloudposse/terraform-provider-utils/test.yml?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/actions/workflows/test.yml
# List any related terraform modules that this module may be used with or that this module depends on.
- name: Tests
image: https://img.shields.io/github/actions/workflow/status/cloudposse/terraform-provider-utils/test.yml?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/actions/workflows/test.yml
# List any related terraform modules that this module may be used with or that this module depends on.
- name: Tests
image: https://img.shields.io/github/actions/workflow/status/cloudposse/terraform-provider-utils/test.yml?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/actions/workflows/test.yml
# List any related terraform modules that this module may be used with or that this module depends on.
- name: Tests
image: https://img.shields.io/github/actions/workflow/status/cloudposse/terraform-provider-utils/test.yml?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/actions/workflows/test.yml
# List any related terraform modules that this module may be used with or that this module depends on.
- name: Tests
image: https://img.shields.io/github/actions/workflow/status/cloudposse/terraform-provider-utils/test.yml?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/actions/workflows/test.yml
# List any related terraform modules that this module may be used with or that this module depends on.
- name: Latest Release
image: https://img.shields.io/github/release/cloudposse/terraform-provider-utils.svg?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/releases/latest
- name: Last Updated
image: https://img.shields.io/github/last-commit/cloudposse/terraform-provider-utils.svg?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/commits
- name: Slack Community
image: https://slack.cloudposse.com/for-the-badge.svg
url: https://slack.cloudposse.com
- name: Tests
image: https://img.shields.io/github/actions/workflow/status/cloudposse/terraform-provider-utils/test.yml?style=for-the-badge
url: https://github.com/cloudposse/terraform-provider-utils/actions/workflows/test.yml
# List any related terraform modules that this module may be used with or that this module depends on.
related:
# List any resources helpful for someone to get started. For example, link to the hashicorp documentation or AWS documentation.
references:
- name: "Terraform Plugins"
description: "Terraform is logically split into two main parts: Terraform Core and Terraform Plugins. Each plugin exposes an implementation for a specific service, such as the AWS provider or the cloud-init provider."
url: "https://www.terraform.io/docs/extend/plugin-types.html#providers"
# Short description of this project
description: |-
Terraform provider for various utilities (deep merging, Atmos stack configuration management), and to add additional missing functionality to Terraform
#introduction: |-
# This is an introduction.
# How to use this module. Should be an easy example to copy and paste.
usage: |-
Here is how to use this provider in your own Terraform code:
```hcl
terraform {
required_providers {
utils = {
source = "cloudposse/utils"
version = ">= 1.17.0"
}
}
}
```
See the [Docs](./docs) for additional information.
# Example usage
examples: |-
Here is an example of using this provider:
```hcl
terraform {
required_providers {
utils = {
source = "cloudposse/utils"
}
}
}
locals {
yaml_data_1 = file("${path.module}/data1.yaml")
yaml_data_2 = file("${path.module}/data2.yaml")
}
data "utils_deep_merge_yaml" "example" {
input = [
local.yaml_data_1,
local.yaml_data_2
]
}
output "deep_merge_output" {
value = data.utils_deep_merge_yaml.example.output
}
```
Here are some additional examples:
- [`examples/data-sources/utils_deep_merge_json`](examples/data-sources/utils_deep_merge_json)
- [`examples/data-sources/utils_deep_merge_yaml`](examples/data-sources/utils_deep_merge_yaml)
include:
- "docs/developer.md"
# Contributors to this project
contributors: []