Skip to content

Commit 15c7e8b

Browse files
authored
chore: Update Scaffolding (#195)
1 parent 6b3bb0f commit 15c7e8b

File tree

3 files changed

+95
-186
lines changed

3 files changed

+95
-186
lines changed

.github/mergify.yml

Lines changed: 1 addition & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1 @@
1-
# https://docs.mergify.io/conditions.html
2-
# https://docs.mergify.io/actions.html
3-
pull_request_rules:
4-
- name: "approve automated PRs that have passed checks"
5-
conditions:
6-
- "author~=^(cloudpossebot|renovate\\[bot\\])$"
7-
- "-closed"
8-
- "head~=^(auto-update|renovate)/.*"
9-
- "check-success=test/bats"
10-
- "check-success=test/readme"
11-
- "check-success=test/terratest"
12-
- "check-success=validate-codeowners"
13-
- or:
14-
- "base=master"
15-
- "base=main"
16-
- "base~=^release/v\\d{1,2}$"
17-
18-
actions:
19-
review:
20-
type: "APPROVE"
21-
bot_account: "cloudposse-mergebot"
22-
message: "We've automatically approved this PR because the checks from the automated Pull Request have passed."
23-
24-
- name: "merge automated PRs when approved and tests pass"
25-
conditions:
26-
- "author~=^(cloudpossebot|renovate\\[bot\\])$"
27-
- "-closed"
28-
- "head~=^(auto-update|renovate)/.*"
29-
- "check-success=test/bats"
30-
- "check-success=test/readme"
31-
- "check-success=test/terratest"
32-
- "check-success=validate-codeowners"
33-
- "#approved-reviews-by>=1"
34-
- "#changes-requested-reviews-by=0"
35-
- "#commented-reviews-by=0"
36-
- or:
37-
- "base=master"
38-
- "base=main"
39-
- "base~=^release/v\\d{1,2}$"
40-
41-
actions:
42-
merge:
43-
method: "squash"
44-
45-
- name: "delete the head branch after merge"
46-
conditions:
47-
- "merged"
48-
actions:
49-
delete_head_branch: {}
50-
51-
- name: "ask to resolve conflict"
52-
conditions:
53-
- "conflict"
54-
- "-closed"
55-
actions:
56-
comment:
57-
message: "This pull request is now in conflict. Could you fix it @{{author}}? 🙏"
58-
59-
- name: "remove outdated reviews"
60-
conditions:
61-
- or:
62-
- "base=master"
63-
- "base=main"
64-
- "base~=^release/v\\d{1,2}$"
65-
actions:
66-
dismiss_reviews:
67-
changes_requested: true
68-
approved: true
69-
message: "This Pull Request has been updated, so we're dismissing all reviews."
70-
71-
- name: "close Pull Requests without files changed"
72-
conditions:
73-
- "#files=0"
74-
actions:
75-
close:
76-
message: "This pull request has been automatically closed by Mergify because there are no longer any changes."
1+
extends: .github

README.md

Lines changed: 67 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
2+
13
<!-- markdownlint-disable -->
24
# terraform-aws-dynamic-subnets <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content="><img align="right" src="https://cloudposse.com/logo-300x69.svg" width="150" /></a>
3-
<a href="https://github.com/cloudposse/terraform-aws-dynamic-subnets/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/terraform-aws-dynamic-subnets.svg" alt="Latest Release"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/badge.svg" alt="Slack Community"/></a>
5+
<a href="https://github.com/cloudposse/terraform-aws-dynamic-subnets/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/terraform-aws-dynamic-subnets.svg?style=for-the-badge" alt="Latest Release"/></a><a href="https://github.com/cloudposse/terraform-aws-dynamic-subnets/commits"><img src="https://img.shields.io/github/last-commit/cloudposse/terraform-aws-dynamic-subnets.svg?style=for-the-badge" alt="Last Updated"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/for-the-badge.svg" alt="Slack Community"/></a>
46
<!-- markdownlint-restore -->
57

68
<!--
@@ -92,41 +94,23 @@ cover `max_subnet_count` private and public subnets (when both are enabled, whic
9294
subnets being allocated out of the lower half of the reservation and the public subnets allocated out of the upper half.
9395

9496

95-
---
96-
> [!NOTE]
97-
> This project is part of Cloud Posse's comprehensive ["SweetOps"](https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=) approach towards DevOps.
98-
> <details><summary><strong>Learn More</strong></summary>
99-
> <a href="https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=terraform_modules">
100-
> <picture>
101-
> <source media="(prefers-color-scheme: dark)" srcset="https://docs.cloudposse.com/images/terraform-open-source-modules-light.svg">
102-
> <source media="(prefers-color-scheme: light)" srcset="https://docs.cloudposse.com/images/terraform-open-source-modules-dark.svg">
103-
> <img alt="Terraform Open Source Modules" src="https://docs.cloudposse.com/images/terraform-open-source-modules.svg" align="right">
104-
> </picture>
105-
> </a>
106-
>
97+
> [!TIP]
98+
> #### 👽 Use Atmos with Terraform
99+
> Cloud Posse uses [`atmos`](https://atmos.tools) to easily orchestrate multiple environments using Terraform. <br/>
100+
> Works with [Github Actions](https://atmos.tools/integrations/github-actions/), [Atlantis](https://atmos.tools/integrations/atlantis), or [Spacelift](https://atmos.tools/integrations/spacelift).
107101
>
108-
> It's 100% Open Source and licensed under the [APACHE2](LICENSE).
109-
>
110-
> We literally have [*hundreds of terraform modules*](https://cpco.io/terraform-modules?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=terraform_modules) that are Open Source and well-maintained. Check them out!
111-
> </details>
102+
> <details>
103+
> <summary><strong>Watch demo of using Atmos with Terraform</strong></summary>
104+
> <img src="https://github.com/cloudposse/atmos/blob/master/docs/demo.gif?raw=true"/><br/>
105+
> <i>Example of running <a href="https://atmos.tools"><code>atmos</code></a> to manage infrastructure from our <a href="https://atmos.tools/quick-start/">Quick Start</a> tutorial.</i>
106+
> </detalis>
112107
113-
<a href="https://cloudposse.com/readme/header/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=readme_header_link"><img src="https://cloudposse.com/readme/header/img"/></a>
114108

115109

116110

117111

118112
## Usage
119113

120-
121-
122-
> [!IMPORTANT]
123-
> In Cloud Posse's examples, we avoid pinning modules to specific versions to prevent discrepancies between the documentation
124-
> and the latest released versions. However, for your own projects, we strongly advise pinning each module to the exact version
125-
> you're using. This practice ensures the stability of your infrastructure. Additionally, we recommend implementing a systematic
126-
> approach for updating versions to avoid unexpected changes.
127-
128-
129-
130114
```hcl
131115
module "subnets" {
132116
source = "cloudposse/dynamic-subnets/aws"
@@ -174,6 +158,14 @@ See [examples](examples) for working examples. In particular, see [examples/nacl
174158
for an example of how to create custom Network Access Control Lists (NACLs) outside of
175159
but in conjunction with this module.
176160

161+
> [!IMPORTANT]
162+
> In Cloud Posse's examples, we avoid pinning modules to specific versions to prevent discrepancies between the documentation
163+
> and the latest released versions. However, for your own projects, we strongly advise pinning each module to the exact version
164+
> you're using. This practice ensures the stability of your infrastructure. Additionally, we recommend implementing a systematic
165+
> approach for updating versions to avoid unexpected changes.
166+
167+
168+
177169

178170

179171

@@ -423,23 +415,60 @@ Check out these related projects.
423415
- [terraform-aws-kops-vpc-peering](https://github.com/cloudposse/terraform-aws-kops-vpc-peering) - Terraform module to create a peering connection between a backing services VPC and a VPC created by Kops
424416
- [terraform-aws-named-subnets](https://github.com/cloudposse/terraform-aws-named-subnets) - Terraform module for named subnets provisioning.
425417

418+
419+
> [!TIP]
420+
> #### Use Terraform Reference Architectures for AWS
421+
>
422+
> Use Cloud Posse's ready-to-go [terraform architecture blueprints](https://cloudposse.com/reference-architecture/) for AWS to get up and running quickly.
423+
>
424+
> ✅ We build it with you.<br/>
425+
> ✅ You own everything.<br/>
426+
> ✅ Your team wins.<br/>
427+
>
428+
> <a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=commercial_support"><img alt="Request Quote" src="https://img.shields.io/badge/request%20quote-success.svg?style=for-the-badge"/></a>
429+
> <details><summary>📚 <strong>Learn More</strong></summary>
430+
>
431+
> <br/>
432+
>
433+
> Cloud Posse is the leading [**DevOps Accelerator**](https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=commercial_support) for funded startups and enterprises.
434+
>
435+
> *Your team can operate like a pro today.*
436+
>
437+
> Ensure that your team succeeds by using Cloud Posse's proven process and turnkey blueprints. Plus, we stick around until you succeed.
438+
> #### Day-0: Your Foundation for Success
439+
> - **Reference Architecture.** You'll get everything you need from the ground up built using 100% infrastructure as code.
440+
> - **Deployment Strategy.** Adopt a proven deployment strategy with GitHub Actions, enabling automated, repeatable, and reliable software releases.
441+
> - **Site Reliability Engineering.** Gain total visibility into your applications and services with Datadog, ensuring high availability and performance.
442+
> - **Security Baseline.** Establish a secure environment from the start, with built-in governance, accountability, and comprehensive audit logs, safeguarding your operations.
443+
> - **GitOps.** Empower your team to manage infrastructure changes confidently and efficiently through Pull Requests, leveraging the full power of GitHub Actions.
444+
>
445+
> <a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=commercial_support"><img alt="Request Quote" src="https://img.shields.io/badge/request%20quote-success.svg?style=for-the-badge"/></a>
446+
>
447+
> #### Day-2: Your Operational Mastery
448+
> - **Training.** Equip your team with the knowledge and skills to confidently manage the infrastructure, ensuring long-term success and self-sufficiency.
449+
> - **Support.** Benefit from a seamless communication over Slack with our experts, ensuring you have the support you need, whenever you need it.
450+
> - **Troubleshooting.** Access expert assistance to quickly resolve any operational challenges, minimizing downtime and maintaining business continuity.
451+
> - **Code Reviews.** Enhance your team’s code quality with our expert feedback, fostering continuous improvement and collaboration.
452+
> - **Bug Fixes.** Rely on our team to troubleshoot and resolve any issues, ensuring your systems run smoothly.
453+
> - **Migration Assistance.** Accelerate your migration process with our dedicated support, minimizing disruption and speeding up time-to-value.
454+
> - **Customer Workshops.** Engage with our team in weekly workshops, gaining insights and strategies to continuously improve and innovate.
455+
>
456+
> <a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=commercial_support"><img alt="Request Quote" src="https://img.shields.io/badge/request%20quote-success.svg?style=for-the-badge"/></a>
457+
> </details>
458+
426459
## ✨ Contributing
427460

428461
This project is under active development, and we encourage contributions from our community.
462+
463+
464+
429465
Many thanks to our outstanding contributors:
430466

431467
<a href="https://github.com/cloudposse/terraform-aws-dynamic-subnets/graphs/contributors">
432468
<img src="https://contrib.rocks/image?repo=cloudposse/terraform-aws-dynamic-subnets&max=24" />
433469
</a>
434470

435-
### 🐛 Bug Reports & Feature Requests
436-
437-
Please use the [issue tracker](https://github.com/cloudposse/terraform-aws-dynamic-subnets/issues) to report any bugs or file feature requests.
438-
439-
### 💻 Developing
440-
441-
If you are interested in being a contributor and want to get involved in developing this project or help out with Cloud Posse's other projects, we would love to hear from you!
442-
Hit us up in [Slack](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=slack), in the `#cloudposse` channel.
471+
For 🐛 bug reports & feature requests, please use the [issue tracker](https://github.com/cloudposse/terraform-aws-dynamic-subnets/issues).
443472

444473
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
445474
1. Review our [Code of Conduct](https://github.com/cloudposse/terraform-aws-dynamic-subnets/?tab=coc-ov-file#code-of-conduct) and [Contributor Guidelines](https://github.com/cloudposse/.github/blob/main/CONTRIBUTING.md).
@@ -464,38 +493,6 @@ Dropped straight into your Inbox every week — and usually a 5-minute read.
464493

465494
[Join us every Wednesday via Zoom](https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=office_hours) for your weekly dose of insider DevOps trends, AWS news and Terraform insights, all sourced from our SweetOps community, plus a _live Q&A_ that you can’t find anywhere else.
466495
It's **FREE** for everyone!
467-
468-
## About
469-
470-
This project is maintained by <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=">Cloud Posse, LLC</a>.
471-
<a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content="><img src="https://cloudposse.com/logo-300x69.svg" align="right" /></a>
472-
473-
We are a [**DevOps Accelerator**](https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=commercial_support) for funded startups and enterprises.
474-
Use our ready-to-go terraform architecture blueprints for AWS to get up and running quickly.
475-
We build it with you. You own everything. Your team wins. Plus, we stick around until you succeed.
476-
477-
<a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=commercial_support"><img alt="Learn More" src="https://img.shields.io/badge/learn%20more-success.svg?style=for-the-badge"/></a>
478-
479-
*Your team can operate like a pro today.*
480-
481-
Ensure that your team succeeds by using our proven process and turnkey blueprints. Plus, we stick around until you succeed.
482-
483-
<details>
484-
<summary>📚 <strong>See What's Included</strong></summary>
485-
486-
- **Reference Architecture.** You'll get everything you need from the ground up built using 100% infrastructure as code.
487-
- **Deployment Strategy.** You'll have a battle-tested deployment strategy using GitHub Actions that's automated and repeatable.
488-
- **Site Reliability Engineering.** You'll have total visibility into your apps and microservices.
489-
- **Security Baseline.** You'll have built-in governance with accountability and audit logs for all changes.
490-
- **GitOps.** You'll be able to operate your infrastructure via Pull Requests.
491-
- **Training.** You'll receive hands-on training so your team can operate what we build.
492-
- **Questions.** You'll have a direct line of communication between our teams via a Shared Slack channel.
493-
- **Troubleshooting.** You'll get help to triage when things aren't working.
494-
- **Code Reviews.** You'll receive constructive feedback on Pull Requests.
495-
- **Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects.
496-
</details>
497-
498-
<a href="https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse/terraform-aws-dynamic-subnets&utm_content=readme_commercial_support_link"><img src="https://cloudposse.com/readme/commercial-support/img"/></a>
499496
## License
500497

501498
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge" alt="License"></a>
@@ -530,6 +527,8 @@ under the License.
530527
## Trademarks
531528

532529
All other trademarks referenced herein are the property of their respective owners.
530+
531+
533532
---
534533
Copyright © 2017-2024 [Cloud Posse, LLC](https://cpco.io/copyright)
535534

0 commit comments

Comments
 (0)