Skip to content

Added missing gdbobj #1

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
This sample code is made available under a modified MIT license. See the LICENSE file.
4 changes: 2 additions & 2 deletions create_managed_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down Expand Up @@ -498,4 +498,4 @@ def main():
raise

if __name__ == "__main__":
main()
main()