From 09a09aba54cf3b66f1093a4db08f61c7fcd6ac6a Mon Sep 17 00:00:00 2001 From: jgidey <44574909+jgidey@users.noreply.github.com> Date: Fri, 27 May 2022 15:10:06 -0500 Subject: [PATCH 1/2] Update create_managed_endpoint.py --- create_managed_endpoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_managed_endpoint.py b/create_managed_endpoint.py index c7e48b2..85e08d0 100644 --- a/create_managed_endpoint.py +++ b/create_managed_endpoint.py @@ -432,7 +432,7 @@ def main(): if (skipvpc == False): print ("Vpc",instancevpc," doesn't exist. Adding vpc..") hzid = update_hosted_zone(hostedzonename,regioname,instancevpc) - make_ddb_entry(cluname,hzid,recordname,regioname) #Make ddb entry. This should only work from the calling region. + make_ddb_entry(cluname,hzid,recordname,regioname,gdbobj) #Make ddb entry. This should only work from the calling region. else: print ("Vpc",instancevpc," doesn't exist. But skipping due to skip vpc flag.") if (exists_hz_record(hostedzonename,recordname)): @@ -498,4 +498,4 @@ def main(): raise if __name__ == "__main__": - main() \ No newline at end of file + main() From a9a09d0bdd87d8b6e34417e3f253ac7c0a033145 Mon Sep 17 00:00:00 2001 From: jgidey <44574909+jgidey@users.noreply.github.com> Date: Fri, 27 May 2022 15:11:06 -0500 Subject: [PATCH 2/2] Fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 93a6b1a..e95e15f 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Follow the instructions below in order to deploy from this repository: The script takes following parameters: -**-t OR --template-body**: CloudFormation template file. Defaults to managed0gdb-cft.yml. **(Optional)** +**-t OR --template-body**: CloudFormation template file. Defaults to managed-gdb-cft.yml. **(Optional)** **-r OR --region-list**: List of regions separated by commas, where the stack will be deployed. **(Required)** **-a OR --consent-anonymous-data-collect**: This script collects anonymous, non PII and non-account identifiable data, to understand how many times this solution has been deployed by customers. Data collection is completely optional, and if you pass ‘no’ as a value, you will be opted out. This parameters is optional, and defaults to ‘yes’. It only collects, stack name, region, timestamp and the UUID portion of the stack id (for uniqueness). We only collect data to understand how much the solution is being used, and if it is in-fact being used, then it motivates us to continue to put resources and efforts in it to refine it further and add features. @@ -119,4 +119,4 @@ To remove this solution from your account, do following: ``` ## License Summary -This sample code is made available under a modified MIT license. See the LICENSE file. \ No newline at end of file +This sample code is made available under a modified MIT license. See the LICENSE file.