avatarTeri Radichel

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

1866

Abstract

v2/resize:fit:320/1*dJIBzUCzBtt3rcT4XdSplw.png)"></div> </div> </div> </a> </div><p id="e110">In this post I want to clean up my organization deployment.</p><h2 id="0878">Organizational Settings</h2><p id="4500">To migrate my organizational settings I migrate this file over:</p><p id="2ba8"><i>resources/organizations/organization/organization_functions.sh</i></p><p id="122c">Within this file I see that I have this function:</p><figure id="994c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*sU4szi0DcIh9Itqi7XIjLg.png"><figcaption></figcaption></figure><p id="c346">That is no longer applicable since I have a new way to deploy or import an organization in my <i>deploy/rootadmin/deploy_organization.sh</i> file. But really that code is specific to the organization resource so I move that code into the create organization function (truncated):</p><figure id="a68c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*_pmRxlcmfjdd5tzunVKkNQ.png"><figcaption></figcaption></figure><p id="33c2">I source the organization functions file:</p><figure id="783d"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*dqkwzkJ3IxMmUosnm3nXkg.png"><figcaption></figcaption></figure><p id="989d">Let’s see what I have in my organization deploy script in my POC code:</p><figure id="ae9b"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*IJzgDawyh-LReShdOi90uw.png"><figcaption></figcaption></figure><p id="a8e0">I can just copy those four functions now over to my rootadmin <i>deploy_organization.sh</i> script and they will get called from the<i> organization_functions.sh</i> file. I test and it works.</p><figure id="77bf"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*8IO-uloOPR9EdiToITHG9w.png"><figcaption></figcaption></figure><p id="b056

Options

">Just a short post to migrate and clean up some existing organizations code.</p><p id="7992">The other thing I want to configure for my organization are the delegated administrators, but before I can configure those I need the related accounts.</p><p id="1a8d">Follow for updates.</p><p id="4a3a">Teri Radichel | <i>© <a href="https://2ndsightlab.com/?source=post_page---------------------------">2nd Sight Lab</a> 2023</i></p><div id="8b5f"><pre><span class="hljs-section">About Teri Radichel:

⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab</pre></div><div id="caae"><pre><span class="hljs-section">Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span>
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation</pre></div><div id="1e17"><pre>Follow <span class="hljs-keyword">for</span> more stories like <span class="hljs-keyword">this</span>:

❤️ Sign Up my Medium Email List ❤️ Twitter: <span class="hljs-meta">@teriradichel</span> ❤️ LinkedIn: https:<span class="hljs-comment">//www.linkedin.com/in/teriradichel</span> ❤️ Mastodon: <span class="hljs-meta">@teriradichel</span><span class="hljs-meta">@infosec</span>.exchange ❤️ Facebook: 2nd Sight Lab ❤️ YouTube: @2ndsightlab</pre></div><figure id="843d"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*H9Ew1KCl-29nZiPR.jpeg"><figcaption></figcaption></figure></article></body>

Migrating AWS Organization Configuration Code to a Container

ACM.387 Moving existing organization configuration code to the related resource folder

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Check out my series on Automating Cybersecurity Metrics | Code

🔒 Related Stories: AWS Organizations | Secure Code | Container Security

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In the last post I covered the resource I think I need to create to redeploy my organization with my new deployment container.

In this post I want to clean up my organization deployment.

Organizational Settings

To migrate my organizational settings I migrate this file over:

resources/organizations/organization/organization_functions.sh

Within this file I see that I have this function:

That is no longer applicable since I have a new way to deploy or import an organization in my deploy/rootadmin/deploy_organization.sh file. But really that code is specific to the organization resource so I move that code into the create organization function (truncated):

I source the organization functions file:

Let’s see what I have in my organization deploy script in my POC code:

I can just copy those four functions now over to my rootadmin deploy_organization.sh script and they will get called from the organization_functions.sh file. I test and it works.

Just a short post to migrate and clean up some existing organizations code.

The other thing I want to configure for my organization are the delegated administrators, but before I can configure those I need the related accounts.

Follow for updates.

Teri Radichel | © 2nd Sight Lab 2023

About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab
Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation
Follow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
AWS
Organizations
Deploy
Cloudformation
Configuration
Recommended from ReadMedium