From ef4000fe08c8d0d5358253966fd3f2cfe5ce7499 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Fri, 2 Sep 2022 14:40:54 -0400 Subject: [PATCH] Update AWS plugin (#2420) This adds region information to IAM calls in AWS plugin and hopefully fixes #2233 --- CHANGELOG.md | 3 +++ plugins/host/mains/aws/go.mod | 2 +- plugins/host/mains/aws/go.sum | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff49ec7be0..8cb2cc1db7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,9 @@ Canonical reference for changes, improvements, and bugfixes for Boundary. if only one filter was created and was set by the CLI or directly via the API ([PR1](https://github.com/hashicorp/boundary/pull/2376), [PR2](https://github.com/hashicorp/boundary-plugin-host-aws/pull/16)) +* aws host catalog: Use provided region for IAM calls in addition to EC2 + ([Issue](https://github.com/hashicorp/boundary/issues/2233), + [PR](https://github.com/hashicorp/boundary-plugin-host-aws/pull/18)) * azure host catalog: Fix hosts not being found depending on the exact filter used because different filters return values with different casing ([PR](https://github.com/hashicorp/boundary-plugin-host-azure/pull/8)) diff --git a/plugins/host/mains/aws/go.mod b/plugins/host/mains/aws/go.mod index 11b1500b47..1b8445a11b 100644 --- a/plugins/host/mains/aws/go.mod +++ b/plugins/host/mains/aws/go.mod @@ -3,7 +3,7 @@ module github.com/hashicorp/boundary/plugins/host/mains/aws go 1.17 require ( - github.com/hashicorp/boundary-plugin-host-aws v0.1.2 + github.com/hashicorp/boundary-plugin-host-aws v0.1.3 github.com/hashicorp/boundary/sdk v0.0.21 ) diff --git a/plugins/host/mains/aws/go.sum b/plugins/host/mains/aws/go.sum index 9632f75abf..3128121b7e 100644 --- a/plugins/host/mains/aws/go.sum +++ b/plugins/host/mains/aws/go.sum @@ -82,8 +82,8 @@ github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/boundary-plugin-host-aws v0.1.2 h1:r8vkoTe/tAbTavfZOsmeJw4b+EtlO3Eka+oyC92ga3k= -github.com/hashicorp/boundary-plugin-host-aws v0.1.2/go.mod h1:xpgU6rHcw9aWOs4knpz6UGKCG5jGCaVDeuEbUWJM6gM= +github.com/hashicorp/boundary-plugin-host-aws v0.1.3 h1:dmsS0wpul4gcXLSNYGypiBg8wmx4Oalh9wI6ZQjNDy0= +github.com/hashicorp/boundary-plugin-host-aws v0.1.3/go.mod h1:xpgU6rHcw9aWOs4knpz6UGKCG5jGCaVDeuEbUWJM6gM= github.com/hashicorp/boundary/sdk v0.0.21 h1:amDhqGTQh8+AMBKe4rLeqJUxntkviurWV9ws2UUhFHI= github.com/hashicorp/boundary/sdk v0.0.21/go.mod h1:LQJL4dxljJc1rhsc8j0IC+P5vh8Ttr7onfqGGDFzd2w= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=