Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Resource & Data Source aws_ec2_transit_gateway_peering_attachment #11162

Merged
merged 33 commits into from
Apr 30, 2020

Commits on Dec 5, 2019

  1. Resource aws_ec2_transit_gateway_peering_attachment

    Create and read functions implemented to interact with the AWS GO SDK
    for transit gateway peering attachments.
    
    waitFor functions added for Create/Read terraform operations.
    
    Describe function added for transit gateway peering attachments.
    Joe Horner committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    44291e0 View commit details
    Browse the repository at this point in the history
  2. Resource aws_ec2_transit_gateway_peering_attachment

    Create Update/Delete/refresh functions implemented to interact with the AWS GO SDK
    for transit gateway peering attachments
    
    waitFor functions added for Update/Delete terraform operations.
    
    Add provider resource mapping to provider.go
    Omarimcblack committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    6b2b24a View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. Remove references to tgw peering attachment acceptance

    Work for transit_gateway_peering_attachment_accepter has now been moved into its own pr hashicorp#11185.
    Joe Horner committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    54b21e5 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. Resource aws_ec2_transit_gateway_peering_attachment

    Create and read functions implemented to interact with the AWS GO SDK
    for transit gateway peering attachments.
    
    waitFor functions added for Create/Read terraform operations.
    
    Describe function added for transit gateway peering attachments.
    Joe Horner authored and Omarimcblack committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    c261ada View commit details
    Browse the repository at this point in the history
  2. Resource aws_ec2_transit_gateway_peering_attachment

    Create Update/Delete/refresh functions implemented to interact with the AWS GO SDK
    for transit gateway peering attachments
    
    waitFor functions added for Update/Delete terraform operations.
    
    Add provider resource mapping to provider.go
    Omarimcblack committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    f8552d3 View commit details
    Browse the repository at this point in the history
  3. Remove references to tgw peering attachment acceptance

    Work for transit_gateway_peering_attachment_accepter has now been moved into its own pr hashicorp#11185.
    Joe Horner authored and Omarimcblack committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    a37f145 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5094ff5 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2019

  1. Add tgw-peer-attachment docs

    Co-authored-by: j-nix <34035447+j-nix@users.noreply.github.com>
    Omarimcblack and j-nix committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    348da35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4eb279 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2 from j-nix/add_transit_gw_peering_docs

    Add Transit Gateway peering attachment docs
    Omarimcblack committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    932a775 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2019

  1. WIP: Tests for TGW peering attachment

    Initial tests added for resource: transit gateway peering attachment,
    work in progress.
    
    Co-authored-by: Omarimcblack 43746683+Omarimcblack@users.noreply.github.com
    Joe Horner authored and Omarimcblack committed Dec 24, 2019
    Configuration menu
    Copy the full SHA
    8a373a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0fddd81 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #3 from j-nix/tgw_peer_tests

    Tests for TGW peering attachment
    Omarimcblack committed Dec 24, 2019
    Configuration menu
    Copy the full SHA
    20f5872 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Add data source for transit gateway peering attachment

    add configuration for data source along with test and documentation
    
    Co-authored-by: j-nix <34035447+j-nix@users.noreply.github.com>
    Omarimcblack and j-nix committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    73e0a1c View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2020

  1. r/aws_ec2_transit_gateway_peering_attachment: Get acceptance tests pa…

    …ssing.
    Kit Ewbank authored and ewbankkit committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    7c3e613 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #4 from ewbankkit/add_transit_gw_peering

    r/aws_ec2_transit_gateway_peering_attachment: Get acceptance tests pa…
    Omarimcblack committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    4e48f9f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    07c8839 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b483433 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2020

  1. Merge pull request #5 from ewbankkit/add_transit_gw_peering

    improved acceptance tests
    j-nix committed Jan 11, 2020
    Configuration menu
    Copy the full SHA
    e521a8b View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2020

  1. Configuration menu
    Copy the full SHA
    7a91af2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    292ae11 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2020

  1. Merge pull request #6 from jValdron/add_transit_gw_peering

    Fixes CI website build as reviewed by @ewbankkit
    j-nix committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    4ee22e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2020

  1. Configuration menu
    Copy the full SHA
    b92b727 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2020

  1. Configuration menu
    Copy the full SHA
    bdd9c12 View commit details
    Browse the repository at this point in the history
  2. Use hashicorp/go-multierror in sweeper for aws_ec2_transit_gateway_pe…

    …ering_attachment.
    
    Acceptance test output:
    
    $ TEST=./aws SWEEP=us-west-2 SWEEPARGS=-sweep-run=aws_ec2_transit_gateway_peering_attachment make sweep
    WARNING: This will destroy infrastructure. Use only in development accounts.
    go test ./aws -v -sweep=us-west-2 -sweep-run=aws_ec2_transit_gateway_peering_attachment
    2020/04/08 10:08:58 [DEBUG] Running Sweepers for region (us-west-2):
    2020/04/08 10:08:58 [DEBUG] Running Sweeper (aws_ec2_transit_gateway_peering_attachment) in region (us-west-2)
    2020/04/08 10:08:58 [INFO] Building AWS auth structure
    2020/04/08 10:08:58 [INFO] Setting AWS metadata API timeout to 100ms
    2020/04/08 10:09:00 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
    2020/04/08 10:09:00 [INFO] AWS Auth provider used: "EnvProvider"
    2020/04/08 10:09:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity
    2020/04/08 10:09:00 [DEBUG] Trying to get account information via sts:GetCallerIdentity
    2020/04/08 10:09:01 Sweeper Tests ran successfully:
    	- aws_ec2_transit_gateway_peering_attachment
    ok  	github.com/terraform-providers/terraform-provider-aws/aws	2.820s
    ewbankkit committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    86b3468 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2020

  1. Merge pull request #8 from ewbankkit/issue-11117.aws_ec2_transit_gate…

    …way_peering_attachment
    
    error sweeper & TGW deletion retryable error handling for TGW peering
    j-nix committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    a7674c8 View commit details
    Browse the repository at this point in the history
  2. Refer to AWS Docs for TGW peering supported regions

    https://aws.amazon.com/about-aws/whats-new/2020/04/aws-transit-gateway-now-supports-inter-region-peering-in-11-additional-regions/
    
    Region support has changed and is subject to further changes - AWS docs
    should be referred to for up to date list.
    Omarimcblack committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    6f7a696 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. aws_ec2_transit_gateway_peering_attachment: local/peer terminology

    Local/peer terminology implemented based off the current account
    
    Co-Authored-By: Brian Flad <bflad417@gmail.com>
    j-nix and bflad committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    1a2af88 View commit details
    Browse the repository at this point in the history
  2. aws_ec2_transit_gateway_peering_attachment: simplify test logic

    use `owner_id` attr rather than data source for caller identity
    
    Co-Authored-By: Brian Flad <bflad417@gmail.com>
    j-nix and bflad committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    1c32337 View commit details
    Browse the repository at this point in the history
  3. aws_ec2_transit_gateway_peering_attachment: amend docs

    Docs amended to provide different example & fix links
    
    Co-Authored-By: Brian Flad <bflad417@gmail.com>
    j-nix and bflad committed Apr 20, 2020
    Configuration menu
    Copy the full SHA
    3321080 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. aws_ec2_transit_gateway_peering_attachment: Change test sweep to use …

    …paginator function
    
    Co-authored-by: Omarimcblack <43746683+Omarimcblack@users.noreply.github.com>
    Joe Horner and Omarimcblack committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    04b8a62 View commit details
    Browse the repository at this point in the history
  2. aws_ec2_transit_gateway_peering_attachment: Add comment for string ra…

    …ther than enum
    
    Co-authored-by: Omarimcblack <43746683+Omarimcblack@users.noreply.github.com>
    Joe Horner and Omarimcblack committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    b2e4d5d View commit details
    Browse the repository at this point in the history
  3. aws_ec2_transit_gateway_peering_attachment: test datasource using

    alternate provider
    
    Since local/peer terminology has been adopted it is important to test that
    the correct attributes are returned from a datasource when the
    alternate(accepter) provider is used
    
    Co-authored-by: j-nix <34035447+j-nix@users.noreply.github.com>
    Omarimcblack and j-nix committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    9221ed7 View commit details
    Browse the repository at this point in the history