terraform-aws-vpc-peering-multi-account

Terraform module to provision a VPC peering across multiple VPCs in different accounts by using multiple providers

APACHE-2.0 License

Stars
127
Committers
25

Bot releases are visible (Hide)

terraform-aws-vpc-peering-multi-account - v0.20.0 Latest Release

Published by aknysh 9 months ago

what

  • Remove of enabled part of the for_each ternary, as it disables assume_role on enabled = false, which blocks teardown

why

  • local.enabled ternary causes no provider to be present on enabled = false, preventing teardown
terraform-aws-vpc-peering-multi-account - v0.19.1

Published by cloudpossebot over 2 years ago

what and why

Change all references to git.io/build-harness into cloudposse.tools/build-harness, since git.io redirects will stop working on April 29th, 2022.

References

  • DEV-143

πŸš€ Enhancements

what

  • Data source aws_subnet_ids was replaced with aws_subnet for requester. This was already implemented for accepter.

why

  • aws_subnet_ids has been deprecated and will be removed.

references

terraform-aws-vpc-peering-multi-account - v0.19.0

Published by cloudpossebot over 2 years ago

what

  • Reverts PR #44 which introduced a bug when using default routing table

references

terraform-aws-vpc-peering-multi-account - v0.18.0

Published by cloudpossebot over 2 years ago

what

  • Adds configurable timeouts for AWS route creation and deletion

why

  • Route creation and deletion can take longer than the provider defaults of 2m (creation) and 5m (deletion)

references

terraform-aws-vpc-peering-multi-account - v0.17.1

Published by cloudpossebot almost 3 years ago

πŸš€ Enhancements

what

  • Disable provider role assumption if enabled is false

why

  • Allow enabled = false

references

N/A

terraform-aws-vpc-peering-multi-account - v0.17.0

Published by cloudpossebot almost 3 years ago

what

  • Add accepter_enabled variable

why

  • Allow provisioning only the requester side of the peering connection
  • Useful in cases where the accepter side of the connection is managed manually
terraform-aws-vpc-peering-multi-account - v0.16.2

Published by cloudpossebot almost 3 years ago

πŸ€– Automatic Updates

what

This is an auto-generated PR that updates the context.tf file to the latest version from cloudposse/terraform-null-label

why

To support all the features of the context interface.

terraform-aws-vpc-peering-multi-account - v0.16.1

Published by cloudpossebot almost 3 years ago

πŸ€– Automatic Updates

This PR contains the following updates:

Package Type Update Change
cloudposse/label/null (source) module minor 0.24.1 -> 0.25.0

Release Notes

v0.25.0

Compare Source


Configuration

πŸ“… Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

terraform-aws-vpc-peering-multi-account - v0.16.0

Published by cloudpossebot over 3 years ago

what

  • add variable add_attribute_tag that will control creation of additional attribute accepted for accepted and requster for requester

why

This module can be used for creating cross-account and same account vpc peering. The case si next: if use dynamic aws creds in loop, but different attribute tag for accepted and the requester will conflict with each other for same account vpc peering. Also some time its not needed to add any additional attributes

terraform-aws-vpc-peering-multi-account - v0.15.0

Published by cloudpossebot over 3 years ago

Introduces a bug #45 in failed attempt to fix #30 . No other changes to module itself. Use v0.14.0 until the next release.

what

  • Update accepter, GitHub actions, LICENSE, README

why

  • Keep up to date

related

  • Closes #30 (update: does not really fix #30)
  • Closes #31
terraform-aws-vpc-peering-multi-account - v0.14.0

Published by cloudpossebot over 3 years ago

what

  • Adds AWS credentials variables into providers ( access key id, secret access key, session token)

why

  • I have a use case of using Hashicorp Vault to fetch AWS credentials, i need a way to pass these fetched credentials into the module.
terraform-aws-vpc-peering-multi-account - v0.13.1

Published by cloudpossebot over 3 years ago

πŸš€ Enhancements

what

  • Allow user to pass in optional profile to be used when assuming the specified role.

why

  • As stated in the issue, if you normally configure profile in your aws provider block, plan will fail with the following message. This is because the default credentials don't have permission to assume the specified role.
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.


Error: error configuring Terraform AWS Provider: IAM Role (arn:aws:iam::XXXX:role/vpc-peering-role) cannot be assumed.

There are a number of possible causes of this - the most common are:
  * The credentials used in order to assume the role are invalid
  * The credentials do not have appropriate permission to assume the role
  * The role ARN is not valid

Error: NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Also, there was a question of whether or not passing in an empty string would be okay for the AWS provider and it seems to work fine.

references

closes https://github.com/cloudposse/terraform-aws-vpc-peering-multi-account/issues/7

terraform-aws-vpc-peering-multi-account - v0.13.0

Published by cloudpossebot over 3 years ago

changed from ceil to floor

what

  • when acceptor vpc has two cidr ranges, this will not work, the range of index starts from 0 to a number, not 1 to a number

why

  • fix a bug
terraform-aws-vpc-peering-multi-account - v0.12.4

Published by cloudpossebot over 3 years ago

πŸ€– Automatic Updates

what

  • update context.tf to v0.24.1
  • minimum required Terraform version bumped to 0.13.0
  • readme updated, Bridgecrew compliance badges added

why

  • It allows for setting the letter case of tag names and labels, back compatibility with context v0.22.0 and below
  • we have dropped support for Terraform 0.12
  • To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant
terraform-aws-vpc-peering-multi-account - v0.12.3

Published by cloudpossebot over 3 years ago

πŸ€– Automatic Updates

what

This is an auto-generated PR that updates the context.tf file to the latest version from cloudposse/terraform-null-label

why

To support all the features of the context interface.

terraform-aws-vpc-peering-multi-account - v0.12.2

Published by cloudpossebot over 3 years ago

πŸ€– Automatic Updates

This PR contains the following updates:

Package Type Update Change
cloudposse/label/null (source) terraform patch 0.24.0 -> 0.24.1

Release Notes

v0.24.1

Compare Source

You now have control over the letter case of generated tag names and supplied labels, which means you also have control over the letter case of the ultimate id.

Labels are the elements you can include in label_order, namely namespace, environment, stage, name, and attributes. For every non-empty label, a corresponding tag name is generated. For namespace, environment, stage, the output is the formatted, normalized input. (By "normalized" we mean that it goes through regex_replace_chars.), For attributes, which is a list, each element is normalized, duplicates are removed, and the resulting list is converted to a string by joining the elements with the delimiter (defaults to hyphen). For name, which is special, the output is the same as id, which is the joining of the labels in the order specified by label_order and separated by delimiter.

  • You can set label_key_case to one of upper, lower, or title, which will result in generated tag names in the corresponding case: NAME, name, or Name. For backwards compatibility, title is the default
  • You can set label_value_case to one of upper, lower, title, or none, which will result in output label values in the corresponding case (with none meaning no case conversion of any kind will be done, though the labels will still be subject to regex_replace_chars). The case converted labels will show up not just in the module output of the labels themselves, but also in the tag values and in the id string.

You can look at the test cases in examples/complete and the expected results in test/src/examples_complete_test.go to see examples of how this is supposed to work.

One interesting example is that you can create ids in Pascal case by setting label_value_case = "title" and delimiter = "".

Incorporates and closes #​120

terraform-aws-vpc-peering-multi-account - v0.12.1

Published by cloudpossebot over 3 years ago

πŸ€– Automatic Updates

This PR contains the following updates:

Package Type Update Change
cloudposse/label/null (source) terraform minor 0.22.1 -> 0.24.0

Release Notes

v0.24.0

Compare Source

Incorporates and closes #​120

You now have control over the letter case of generated tag names and supplied labels, which means you also have control over the letter case of the ultimate id.

Labels are the elements you can include in label_order, namely namespace, environment, stage, name, and attributes. For every non-empty label, a corresponding tag name is generated. For namespace, environment, stage, the output is the formatted, normalized input. (By "normalized" we mean that it goes through regex_replace_chars.), For attributes, which is a list, each element is normalized, duplicates are removed, and the resulting list is converted to a string by joining the elements with the delimiter (defaults to hyphen). For name, which is special, the output is the same as id, which is the joining of the labels in the order specified by label_order and separated by delimiter.

  • You can set label_key_case to one of upper, lower, or title, which will result in generated tag names in the corresponding case: NAME, name, or Name. For backwards compatibility, title is the default
  • You can set label_value_case to one of upper, lower, title, or none, which will result in output label values in the corresponding case (with none meaning no case conversion of any kind will be done, though the labels will still be subject to regex_replace_chars). The case converted labels will show up not just in the module output of the labels themselves, but also in the tag values and in the id string.

You can look at the test cases in examples/complete and the expected results in test/src/examples_complete_test.go to see examples of how this is supposed to work.

One interesting example is that you can create ids in Pascal case by setting label_value_case = "title" and delimiter = "".

v0.23.0

Compare Source

With this release, you gain control over the letter case of generated tag names and supplied labels, which means you also have control over the letter case of the ultimate id.

Labels are the elements you can include in label_order, namely namespace, environment, stage, name, and attributes. For every non-empty label, a corresponding tag name is generated. For namespace, environment, stage, the output is the formatted, normalized input. (By "normalized" we mean that it goes through regex_replace_chars.), For attributes, which is a list, each element is normalized, duplicates are removed, and the resulting list is converted to a string by joining the elements with the delimiter (defaults to hyphen). For name, which is special, the output is the same as id, which is the joining of the labels in the order specified by label_order and separated by delimiter.

  • You can set label_key_case to one of upper, lower, or title, which will result in generated tag names in the corresponding case: NAME, name, or Name. For backwards compatibility, title is the default
  • You can set label_value_case to one of upper, lower, title, or none, which will result in output label values in the corresponding case (with none meaning no case conversion of any kind will be done, though the labels will still be subject to regex_replace_chars). The case converted labels will show up not just in the module output of the labels themselves, but also in the tag values and in the id string.

You can look at the test cases in examples/complete and the expected results in test/src/examples_complete_test.go to see examples of how this is supposed to work.

One interesting example is that you can create ids in Pascal case by setting label_value_case = "title" and delimiter = "".

terraform-aws-vpc-peering-multi-account - v0.12.0

Published by cloudpossebot over 3 years ago

what

  • update context.tf to v0.23.0
  • minimum required Terraform version bumped to 0.13.0
  • readme updated, Bridgecrew compliance badges added

why

  • It allows for setting the letter case of tag names and labels
  • we have dropped support for Terraform 0.12
  • To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant
terraform-aws-vpc-peering-multi-account - v0.11.3

Published by cloudpossebot over 3 years ago

πŸš€ Enhancements

fix link to terraform-aws-vpc-peering - it was pointing to terraform-aws-vpc

terraform-aws-vpc-peering-multi-account - v0.11.2

Published by cloudpossebot almost 4 years ago

πŸ€– Automatic Updates

This PR contains the following updates:

Package Type Update Change
cloudposse/label/null (source) terraform minor 0.21.0 -> 0.22.1

Release Notes

v0.22.1

Compare Source

v0.22.0

Compare Source

Breaking change: This release updates minimum Terraform version requirement to 0.12.26

Related Projects