Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
81549d8
Initialize feat/update_terraform_module_template
VishwajitNagulkar Nov 12, 2024
064e651
updated code
Nov 13, 2024
dd4fe04
updated code
Nov 13, 2024
5dcdd53
updated code
rakeshclouddevops Nov 14, 2024
2c6c534
updated code
Nov 14, 2024
254e93f
updated code
Nov 14, 2024
0d7d1e7
update tf version
rakeshclouddevops Nov 14, 2024
13f4de0
updated description
rakeshclouddevops Nov 14, 2024
260011f
update tfchecks
rakeshclouddevops Nov 14, 2024
bdc72dd
test
rakeshclouddevops Nov 14, 2024
9be2349
updated code
Nov 14, 2024
bea2cc6
Merged master into feat/amazon-mq and resolved conflicts
Nov 14, 2024
1451c98
Fix Terraform formatting
Nov 14, 2024
ade0dfa
updated sg
Nov 14, 2024
f5e44f5
updated sg
Nov 14, 2024
708b9b7
updated sg
Nov 14, 2024
478e000
updated sg
Nov 14, 2024
cd2d60a
updated sg
Nov 14, 2024
dff32c2
updated sg
Nov 14, 2024
2619a15
updated sg
Nov 14, 2024
e187b34
ran fmt
Nov 14, 2024
7accb46
fix: added public_inbound_acl in public subnet
Nov 14, 2024
4ad3a24
fix: added private_inbound_acl in public subnet
Nov 14, 2024
a0f4fda
RUN: terraform fmt
Nov 14, 2024
0bd8fac
change: rule action in inbound
Nov 14, 2024
2bc5953
change: remove acl rules from public subnet
Nov 14, 2024
bec1348
change: change the cidr block in inblound rules
Nov 14, 2024
861c709
change: make changes in inblound rules
Nov 14, 2024
97c3239
fix: indentation
Nov 14, 2024
23007b0
fix: change the cidr_block in acl rule in public subnet
Nov 14, 2024
965721c
fix: remove duplicate example directory
Nov 14, 2024
9557c19
feat: updated readme configuration
VishwajitNagulkar Nov 14, 2024
7b2098e
update: add logic for setup hardcoded secrets in main module
Nov 14, 2024
1241264
Merge branch 'feat/amazon-mq' of https://github.com/clouddrove/terraf…
Nov 14, 2024
57fcabc
update: add lifecycle to control how resourese created and destroyed …
Nov 14, 2024
2ce4986
remove: remove tf-checks.yml from the github workflow
Nov 14, 2024
5b8ebc5
Feat: updated trigger
VishwajitNagulkar Nov 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ updates:
open-pull-requests-limit: 3

- package-ecosystem: "terraform" # See documentation for possible values
<<<<<<< HEAD
directory: "/_example/basic" # Location of package manifests
=======
directory: "/examples/basic" # Location of package manifests
>>>>>>> feat/amazon-mq
schedule:
interval: "weekly"
# Add assignees
Expand All @@ -43,7 +47,11 @@ updates:
open-pull-requests-limit: 3

- package-ecosystem: "terraform" # See documentation for possible values
<<<<<<< HEAD
directory: "/_example/complete" # Location of package manifests
=======
directory: "/examples/complete" # Location of package manifests
>>>>>>> feat/amazon-mq
schedule:
interval: "weekly"
# Add assignees
Expand All @@ -53,4 +61,8 @@ updates:
reviewers:
- "approvers"
# Allow up to 3 open pull requests for pip dependencies
<<<<<<< HEAD
open-pull-requests-limit: 3
=======
open-pull-requests-limit: 3
>>>>>>> feat/amazon-mq
8 changes: 8 additions & 0 deletions .github/workflows/auto_assignee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ on:
jobs:
assignee:
uses: clouddrove/github-shared-workflows/.github/workflows/auto_assignee.yml@master
<<<<<<< HEAD
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
assignees: 'clouddrove-ci'
=======

secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
assignees: 'clouddrove-ci'
>>>>>>> feat/amazon-mq
7 changes: 7 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
jobs:
changelog:
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
<<<<<<< HEAD
secrets: inherit
with:
branch: 'master'
=======

secrets: inherit
with:
branch: 'master'
>>>>>>> feat/amazon-mq
16 changes: 16 additions & 0 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<<<<<<< HEAD
name: 'Create README.md file'
=======
name: readme workflow
>>>>>>> feat/amazon-mq
on:
push:
branches:
- master
<<<<<<< HEAD

jobs:
readme:
Expand Down Expand Up @@ -52,3 +57,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }} # required
if: always()
=======
paths-ignore:
- 'README.md'
workflow_dispatch:
jobs:
readme:
uses: clouddrove/github-shared-workflows/.github/workflows/readme.yml@master
secrets:
TOKEN : ${{ secrets.GITHUB }}
SLACK_WEBHOOK_TERRAFORM: ${{ secrets.SLACK_WEBHOOK_TERRAFORM }}
>>>>>>> feat/amazon-mq
16 changes: 16 additions & 0 deletions .github/workflows/tf-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: tf-checks
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
basic:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
with:
working_directory: './examples/basic/'

complete:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master
with:
working_directory: './example/complete/'
11 changes: 11 additions & 0 deletions .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: tf-lint
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
tf-lint:
uses: clouddrove/github-shared-workflows/.github/workflows/tf-lint.yml@master
secrets:
GITHUB: ${{ secrets.GITHUB }}
11 changes: 11 additions & 0 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: tfsec
permissions: write-all
on:
pull_request:
workflow_dispatch:
jobs:
tfsec:
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
secrets: inherit
with:
working_directory: '.'
147 changes: 94 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,121 +2,162 @@

<p align="center"> <img src="https://user-images.githubusercontent.com/50652676/62349836-882fef80-b51e-11e9-99e3-7b974309c7e3.png" width="100" height="100"></p>


<h1 align="center">
Terraform Module Template
Terraform Module Amazon-MQ
</h1>

<p align="center" style="font-size: 1.2rem;">
Terraform module template to create new modules using this as baseline
</p>
</p>

<p align="center">

<a href="https://github.com/clouddrove/terraform-module-template/releases/latest">
<img src="https://img.shields.io/github/release/clouddrove/terraform-module-template.svg" alt="Latest Release">
<a href="https://github.com/clouddrove/terraform-aws-mq/releases/latest">
<img src="https://img.shields.io/github/release/clouddrove/terraform-aws-mq.svg" alt="Latest Release">
</a>
<a href="">
<img src="https://github.com/clouddrove/terraform-module-template/actions/workflows/tfsec.yml/badge.svg" alt="tfsec">

[![Banner](https://github.com/clouddrove/terraform-aws-mq/assets/119565952/67a8a1af-2eb7-40b7-ae07-c94cde9ce062)][website]
<h1 align="center">
Terraform Template Module
</h1>

<p align="center" style="font-size: 1.2rem;">
With our comprehensive DevOps toolkit - streamline operations, automate workflows, enhance collaboration and, most importantly, deploy with confidence.
</p>

<p align="center">

<a href="https://www.terraform.io">
<img src="https://img.shields.io/badge/Terraform-v0.13-green" alt="Terraform">
</a>
<a href="https://github.com/clouddrove/terraform-aws-mq/actions/workflows/tfsec.yml">

<img src="https://github.com/clouddrove/terraform-aws-mq/actions/workflows/tfsec.yml/badge.svg" alt="tfsec">
</a>
<a href="LICENSE.md">
<img src="https://img.shields.io/badge/License-APACHE-blue.svg" alt="Licence">
</a>

<a href="CHANGELOG.md">
<img src="https://img.shields.io/badge/Changelog-blue" alt="Changelog">
</a>

</p>
<p align="center">

<a href='https://facebook.com/sharer/sharer.php?u=https://github.com/clouddrove/terraform-module-template'>
<a href='https://facebook.com/sharer/sharer.php?u=https://github.com/clouddrove/terraform-aws-mq'>
<img title="Share on Facebook" src="https://user-images.githubusercontent.com/50652676/62817743-4f64cb80-bb59-11e9-90c7-b057252ded50.png" />
</a>
<a href='https://www.linkedin.com/shareArticle?mini=true&title=Terraform+Module+Template&url=https://github.com/clouddrove/terraform-module-template'>

<a href='https://www.instagram.com/cloud_drove?igsh=cHJqaDY3bGtnYmh3' title="Follow On Instagram">
<img src="https://github.com/gauravghongde/social-icons/blob/master/SVG/Color/Instagram.svg" width="23" height="23" />
</a>

<a href='https://www.linkedin.com/shareArticle?mini=true&title=Terraform+Module+Template&url=https://github.com/clouddrove/terraform-aws-mq'>
<img title="Share on LinkedIn" src="https://user-images.githubusercontent.com/50652676/62817742-4e339e80-bb59-11e9-87b9-a1f68cae1049.png" />
</a>
<a href='https://twitter.com/intent/tweet/?text=Terraform+Module+Template&url=https://github.com/clouddrove/terraform-module-template'>
<a href='https://twitter.com/intent/tweet/?text=Terraform+Module+Template&url=https://github.com/clouddrove/terraform-aws-mq'>
<img title="Share on Twitter" src="https://user-images.githubusercontent.com/50652676/62817740-4c69db00-bb59-11e9-8a79-3580fbbf6d5c.png" />
</a>

</p>
<hr>

We are a group of DevOps engineers & architects, joining hands in this ever evolving digital landscape. With our strong belief in Automation; just like microservices, always on the lookout to split the infrastructure into smaller connected resources (database, cluster and more) which could be standardized, are manageable, scalable, secure & follow industry best practices.

We eat, drink, sleep and most importantly love **DevOps**. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy <b>Bigger problems are always solved by breaking them into smaller manageable problems</b>. Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller <b>connected yet manageable pieces</b> within the infrastructure.

This module is basically combination of [Terraform open source](https://www.terraform.io/) and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yourself.

We have [*fifty plus terraform modules*][terraform_modules]. A few of them are comepleted and are available for open source usage while a few others are in progress.



This module includes Terraform open source, examples, and automation tests (for better understanding), which would help you create and improve your infrastructure with minimalistic coding.

## Prerequisites

This module has a few dependencies:

- [Terraform 1.x.x](https://learn.hashicorp.com/terraform/getting-started/install.html)
- [Go](https://golang.org/doc/install)
- [github.com/stretchr/testify/assert](https://github.com/stretchr/testify)
- [github.com/gruntwork-io/terratest/modules/terraform](https://github.com/gruntwork-io/terratest)
## Prerequisites and Providers

This table contains both Prerequisites and Providers:

| Description | Name | Version |
|:-------------:|:-------------------------------------------:|:---------:|
| **Prerequisite** | [Terraform](https://learn.hashicorp.com/terraform/getting-started/install.html) | >= 1.5.4 |
| **Provider** | [aws](https://aws.amazon.com/) | >= 5.11.0 |

## Examples

**IMPORTANT:** Since the master branch used in source varies based on new modifications, we recommend using the [release versions](https://github.com/clouddrove/terraform-aws-mq/releases).

📌 For additional usage examples, check the complete list under [`examples/`](./examples) directory.

## Inputs and Outputs

## Examples
Refer to complete documentation: [here](docs/io.md)

## Module Dependencies

**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-module-template/releases).
This module has dependencies on:
- [Labels Module](https://github.com/clouddrove/terraform-aws-labels): Provides resource tagging.

## 📑 Changelog

Here are some examples of how you can use this module in your inventory structure:
```hcl
```
Refer [here](CHANGELOG.md).

## ✨ Contributors

Big thanks to our contributors for elevating our project with their dedication and expertise! But, we do not wish to stop there, we invite contributions from the community to help improve these projects and make them more versatile for better reach. Remember, every bit of contribution is immensely valuable, as, together, we are moving forward.

<a href="https://github.com/clouddrove/terraform-aws-mq/graphs/contributors">
<img src="https://contrib.rocks/image?repo=clouddrove/terraform-aws-mq&max" />
</a>
<br>
<br>

If you're considering contributing to our project, here are a few quick guidelines that we have been following (Got a suggestion? We are all ears!):

- **Fork the Repository:** Create a new branch for your feature or bug fix.
- **Coding Standards:** You know the drill.
- **Clear Commit Messages:** Write clear and concise commit messages to facilitate understanding.
- **Thorough Testing:** Test your changes thoroughly before submitting a pull request.
- **Documentation Updates:** Include relevant documentation updates if your changes impact it.

## Inputs
## Feedback

No input.
Spot a bug or have thoughts to share with us? Let's squash it together! Log it in our [issue tracker](https://github.com/clouddrove/terraform-aws-mq/issues), feel free to drop us an email at [[email protected]](mailto:[email protected]).

## Outputs
Show some love with a ★ on [our GitHub](https://github.com/clouddrove/terraform-aws-mq)! if our work has brightened your day! – your feedback fuels our journey!

No output.
## :rocket: Our Accomplishment

We have [*100+ Terraform modules*][terraform_modules] 🙌. You could consider them finished, but, with enthusiasts like yourself, we are able to ever improve them, so we call our status - improvement in progress.

- [Terraform Module Registry:](https://registry.terraform.io/namespaces/clouddrove) Discover our Terraform modules here.
- [Terraform Modules for AWS/Azure Modules:](https://github.com/clouddrove/toc) Explore our comprehensive Table of Contents for easy navigation through our documentation for modules pertaining to AWS, Azure & GCP.
- [Terraform Modules for Digital Ocean:](https://github.com/terraform-do-modules/toc) Check out our specialized Terraform modules for Digital Ocean.

## Join Our Slack Community

## Testing
In this module testing is performed with [terratest](https://github.com/gruntwork-io/terratest) and it creates a small piece of infrastructure, matches the output like ARN, ID and Tags name etc and destroy infrastructure in your AWS account. This testing is written in GO, so you need a [GO environment](https://golang.org/doc/install) in your system.
Join our vibrant open-source slack community and embark on an ever-evolving journey with CloudDrove; helping you in moving upwards in your career path.

You need to run the following command in the testing folder:
```hcl
go test -run Test
```
🌐💬 What you'll get after joining this Slack community:
- 🚀 Encouragement to upgrade your best version.
- 🌈 Learning companionship with our DevOps squad.
- 🌱 Relentless growth with daily updates on new advancements in technologies.

Join our tech elites [Join Now][slack] 🚀

## Explore Our Blogs

## Feedback
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/terraform-module-template/issues), or feel free to drop us an email at [[email protected]](mailto:[email protected]).
Click [here][blog] :books: :star2:

If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/terraform-module-template)!
## Tap into our capabilities

## About us
We provide a platform for organizations to engage with experienced top-tier DevOps & Cloud services. Tap into our pool of certified engineers and architects to elevate your DevOps and Cloud Solutions.

At [CloudDrove][website], we offer expert guidance, implementation support and services to help organisations accelerate their journey to the cloud. Our services include docker and container orchestration, cloud migration and adoption, infrastructure automation, application modernisation and remediation, and performance engineering.
At [CloudDrove][website], we have extensive experience in designing, building & migrating environments, securing, consulting, monitoring, optimizing, automating, and maintaining complex and large modern systems. Write to us at [[email protected]](mailto:[email protected]).

<p align="center">We are <b> The Cloud Experts!</b></p>
<hr />
<p align="center">We ❤️ <a href="https://github.com/clouddrove">Open Source</a> and you can check out <a href="https://github.com/clouddrove">our other modules</a> to get help with your new Cloud ideas.</p>

[website]: https://clouddrove.com
[github]: https://github.com/clouddrove
[linkedin]: https://cpco.io/linkedin
[twitter]: https://twitter.com/clouddrove/
[email]: https://clouddrove.com/contact-us.html
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language=
<p align="center">We ❤️ <a href="https://github.com/clouddrove">Open Source</a> and you can check out <a href="https://registry.terraform.io/namespaces/clouddrove">our other modules</a> to get help with your new Cloud ideas.</p>

[website]: https://clouddrove.com
[blog]: https://blog.clouddrove.com
[slack]: https://www.launchpass.com/devops-talks
[github]: https://github.com/clouddrove
[linkedin]: https://cpco.io/linkedin
[twitter]: https://twitter.com/clouddrove/
[email]: https://clouddrove.com/contact-us.html
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language=
Loading
Loading