Skip to content

Conversation

@rahul-infra
Copy link
Contributor

No description provided.

@rahul-infra rahul-infra force-pushed the fix/module-dependency-error branch from d2e848e to 9f9545b Compare November 25, 2025 11:20
alias = "cross_account_provider"
region = var.region

dynamic "assume_role" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's not have this logic here, keep it simple please

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the example main.tf.
So we have removed the provider code from our modules.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, even with example it should be simpler. This is what others will use as reference.

version = "~> 6.0"
source = "hashicorp/aws"
configuration_aliases = [
aws,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are giving aws version in root versions file.

@rahul-infra rahul-infra force-pushed the fix/module-dependency-error branch 2 times, most recently from 1b4aa65 to 60ad05e Compare November 26, 2025 09:14
fail-fast: false
matrix:
example:
- examples/same-account

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see if you can do examples/* instead so that all subfolders get executed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated by not mentioning all the folders in examples

formatted terraform file.

terraform-docs: automated action

Updated examples for same account and cross account.

Added line enter.

Updated readme for same account and cross account examplefile.

terraform-docs: automated action

updated root readme file.

terraform-docs: automated action

Added terraform validate for examples in workflows.

Made changes in github workflow
@rahul-infra rahul-infra force-pushed the fix/module-dependency-error branch from 6f88da5 to 2dee729 Compare November 27, 2025 05:43
@rahul-infra rahul-infra merged commit 5b078d7 into main Nov 27, 2025
24 checks passed
@github-actions
Copy link
Contributor

🎉 This PR is included in version 4.3.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants