Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@renovosolutions/cdk-library-aws-organization
Advanced tools
Readme
This CDK library is a WIP and not ready for production use.
Pre-reqs
Testing
yarn link
, but note you might need to set a static dependency for CDK versions or constructs
in the local app or you'll get errors about mismatched object types)cdk synth --no-staging > template.yml
sam local start-lambda -t template.yml
handler_tests
python files with pytest
like follows:TEST_ACCOUNT_NAME='<name>' TEST_ACCOUNT_EMAIL='<email>' TEST_ACCOUNT_ORIGINAL_OU='<original ou id>' ACCOUNT_LAMBDA_FUNCTION_NAME='<name you noted earlier>' OU_LAMBDA_FUNCTION_NAME='<name you noted earlier>' pytest ./handler_tests/<test file name>.py -rA --capture=sys
test.py
also looks up the root org id to run tests so you'll need to have AWS creds set up to accomodate that behavior.RUN_LOCALLY
env variableTEST_ACCOUNT_NAME='<name>' TEST_ACCOUNT_EMAIL='<email>' TEST_ACCOUNT_ORIGINAL_OU='<original ou id>' RUN_LOCALLY='false' ACCOUNT_LAMBDA_FUNCTION_NAME='<name you noted earlier>' OU_LAMBDA_FUNCTION_NAME='<name from AWS>' pytest ./handler_tests/<test file name>.py -rA --capture=sys
Moving OUs isn't supported by Organizations and would cause significant issues with keeping track of OUs in the CDK. Imagine a scenario like below:
OUAdmin
, and it has 2 children, OUChild1 and Account1
, that are also managed by the CDK stack.OUAdmin
to OUFoo
. The CDK would need to take the following actions:
OU
under OUFoo
with the name OUAdmin
OUAdmin
OU's children to the new OUAdmin
OUAdmin
OUAdmin
, any children OUs would be "lost" in this process and ugly to try and manage.The best way to move OUs would be to add additional OUs to your org then move any accounts as needed then proceed to delete the OUs, like so:
FAQs
AWS CDK Construct Library to manage specific AWS Organization resources
The npm package @renovosolutions/cdk-library-aws-organization receives a total of 1 weekly downloads. As such, @renovosolutions/cdk-library-aws-organization popularity was classified as not popular.
We found that @renovosolutions/cdk-library-aws-organization demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.