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
import boto3 | |
import sys | |
import time | |
from os import getenv | |
region_name = getenv("PROJECT_AWS_REGION") | |
account_id = getenv("PROJECT_AWS_ACCOUNTID") | |
assume_role_name = getenv("PROJECT_AWS_IAM_ROLENAME") | |
aws_access_key_id = getenv("PROJECT_AWS_ACCOUNT_ACCESSKEY") | |
aws_secret_access_key = getenv("PROJECT_AWS_ACCOUNT_SECRETKEY") |
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
import re | |
import os | |
import hashlib | |
import argparse | |
from typing import List | |
def get_argsparser() -> argparse.ArgumentParser: | |
"""Initialize and return the argument parser.""" | |
parser = argparse.ArgumentParser( |
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
CONFLUENCE_TOKEN=<TOKEN> | |
CONFLUENCE_INSTANCE=<confluence.server.com> |
OlderNewer