Last active
December 22, 2020 09:15
-
-
Save toshke/1dceb650117b2f10b5686ee5510ed270 to your computer and use it in GitHub Desktop.
crupdate custom resource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
physical_id = get_physical_id(event) | |
if request_type == 'Create' or request_type == 'Update: | |
if resource_exists(physical_id): | |
print(f'{physical_id} will be overwritten') | |
create_resource() | |
response.success(physical_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment