Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

PCE-89 Update company name and invoice contact information in AWS #3

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bjornrog
Copy link

  • Update primary contact information
  • Added support for maintaining master account contact information
  • Added support for deployment into the master account (no delegated admin for contacts)
  • Prepare for deployment into every customer master account:
    • Providing sane defaults
    • Making sure lambda is run when terraform apply is done

@bjornrog bjornrog requested review from stonefield and adel-n May 21, 2024 12:31
Copy link

@stonefield stonefield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merely documentation changes....

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the Usage section should be updated...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think I must refactor the deployment in https://github.com/basefarm/bf-internal-security/tree/main/account. Move the contact administration to the master account.

This way we do not actually need the "delegated admin" support, thus there will be only one module, and usage must be updated accordingly.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the override tags be documented (tds:contact:*)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course :-) Will add

if error.response['Error']['Code'] == 'ResourceNotFoundException':
pass
else:
raise error
pass

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this pass can be removed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree.

except ClientError as error:
FAILED_ACCOUNTS.append(accountId)
print(error)
pass

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one too (pass)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, was in the original code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants