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. 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()