Skip to content

Instantly share code, notes, and snippets.

View giuseppeborgese's full-sized avatar
🏠
Working from home

Giuseppe Borgese giuseppeborgese

🏠
Working from home
  • Siemens Switzerland
  • Switzerland
View GitHub Profile
@giuseppeborgese
giuseppeborgese / lambda-alert-cross-account.yml
Created March 26, 2021 15:51
ms teams notification lamba alert side
---
AWSTemplateFormatVersion: "2010-09-09"
Description: this can become a cf module.
Parameters:
ProjectName:
Description: this name will prefix many names
Type: String
Default: notif
LambdaName:
@giuseppeborgese
giuseppeborgese / devops.yml
Created March 26, 2021 15:41
ms teams notification
---
AWSTemplateFormatVersion: "2010-09-09"
Description: this is the notification project with ms teams
Parameters:
ProjectName:
Description: this name will prefix many names
Type: String
Default: notif
def list_services():
arn_list=[]
results_for_call=100
response = ecs_client.list_services(cluster=clusterid,maxResults=results_for_call)
while True:
for serv in response['serviceArns']:
arn_list.append(serv)
if 'nextToken' not in response:

Keybase proof

I hereby claim:

  • I am giuseppeborgese on github.
  • I am giuseppeborgese (https://keybase.io/giuseppeborgese) on keybase.
  • I have a public key ASC7o2oHITIIFOD-tnTOFG3wNMLfOcVTTYdHXc3ysf1-ego

To claim this, I am signing this object: