Coder Social home page Coder Social logo

terraform-aws-scps's Introduction

AWS SCPs with Terraform

An efficient way to deploy Service Control Policies (SCPs) with Terraform.

Prerequisites

Limitations

Deployment

This pattern defaults to SCPs for Root, Sandbox, and Workload OUs. If the pattern is not edited, it will deploy example SCPs to these OUs. This is obviously not recommended.

Customize to your OU structure

Using the default code and policies as a guide rail:

  1. Add or edit the variables in config.auto.tfvars and variables.tf.
  2. Add or edit the module blocks in main.tf.
  3. Add or edit the directories in the policies directory to align with your OUs.

Deploy SCPs

  1. Drag + drop your SCP json templates in the correct directory in policies.
  2. Initialize the directory and apply.

... thats it. The module does the undifferentiated heavy lifting and applies it to the specified OUs.

Example SCPs

There are a series of example SCPs available in the policies directory. Before you edit and deploy them, ensure that you carefully consider the requirements of your organization and the impact that these controls may have.

Related Resources

Contributors

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

terraform-aws-scps's People

Contributors

amazon-auto avatar jakebark avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.