forked from cloudposse/terraform-provider-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.yaml
115 lines (94 loc) · 2.92 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
---
#
# 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: "Latest Release"
image: "https://img.shields.io/github/release/cloudposse/terraform-provider-utils.svg"
url: "https://github.com/cloudposse/terraform-provider-utils/releases/latest"
- name: "Slack Community"
image: "https://slack.cloudposse.com/badge.svg"
url: "https://slack.cloudposse.com"
- name: "Discourse Forum"
image: "https://img.shields.io/discourse/https/ask.sweetops.com/posts.svg"
url: "https://ask.sweetops.com/"
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, 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 = ">= 0.3.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/deep_merge_json`](/examples/data-sources/deep_merge_json/)
- [`examples/data-sources/deep_merge_yaml`](/examples/data-sources/deep_merge_yaml/)
include:
- "docs/developer.md"
# Contributors to this project
contributors:
- name: "Matt Calhoun"
github: "mcalhoun"
- name: "Andriy Knysh"
github: "aknysh"
- name: "Erik Osterman"
github: "osterman"