Code Monkey home page Code Monkey logo

coalfire-aws-ramppak's Introduction

Coalfire

Coalfire AWS RAMPpak

Description

Coalfire created reference architecture for FedRAMP AWS builds. This repository is used as a parent directory to deploy Coalfire-CF/terraform-aws-<service> modules.

Learn more at Coalfire OpenSource.

Architecture

Coalfire-AWS-RAMPpak

Dependencies

  • AWS Account
  • AWS CLI is installed

Resource List

Directory Purpose
aws/terraform/us-gov-west-1/management-account/day0 Account Setup Terraform files
aws/terraform/us-gov-west-1/global-vars.tf Global variables
aws/terraform/us-gov-west-1/networking Networking deployment Terraform files
aws/terraform/us-gov-west-1/org-creation AWS Organization Terraform files
aws/terraform/us-gov-west-1/org-onboarding AWS Organization Onboarding Terraform files

Code Updates

  1. Update global-vars.tf in aws/terraform/us-gov-west-1/global-vars.tf
  2. Update tstate.tf in each directory (when applicable). Example below:
terraform {
  required_version = ">=1.5.0"
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 5.0"
    }
}
  backend "s3" {
    bucket         = "pak-us-gov-west-1-tf-state"
    region         = "us-gov-west-1"
    key            = "pak-us-gov-west-1-tfsetup.tfstate"
    dynamodb_table = "pak-us-gov-west-1-state-lock"
    encrypt        = true
  }
}
  1. Update remote-data.tfin each directory (when applicable). Example below:
data "terraform_remote_state" "day0" {
  backend = "s3"

  config = {
    bucket  = "${var.resource_prefix}-${var.aws_region}-tf-state"
    region  = var.aws_region
    key     = "${var.resource_prefix}-${var.aws_region}-tfsetup.tfstate"
    profile = "pak-mgmt"
  }
}
  1. Update vars.tfvars in each directory (when applicable).

Deployment Steps

  1. Log in with with AWS creds into AWS CLI. `aws configure'.
  2. Navigate to aws/terraform/us-gov-west-1/management-account/day0 and run terraform init and terraform plan. If everything looks correct, then run terraform apply.
  3. Navigate to aws/terraform/us-gov-west-1/org-creation and run terraform init and terraform plan. If everything looks correct, then run terraform apply.
  4. Navigate to aws/terraform/us-gov-west-1/org-onboarding and run terraform init and terraform plan. If everything looks correct, then run terraform apply.
  5. Navigate to aws/terraform/us-gov-west-1/networking and run terraform init and terraform plan. If everything looks correct, then run terraform apply.
  6. Navigate to aws/terraform/us-gov-west-1/management-account/bastion and run terraform init and terraform plan. If everything looks correct, then run terraform apply.

Deployment Configurations

  • Ensure that the vars.tfvars file is never uploaded or committed to any public repository platform (e.g., GitHub, GitLab, Bitbucket, etc.). This file contains sensitive information and should be kept private.

Requirements

No requirements.

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

No inputs.

Outputs

No outputs.

Contributing

If you're interested in contributing to our projects, please review the Contributing Guidelines. And send an email to our team to receive a copy of our CLA and start the onboarding process.

License

License

Copyright

Copyright © 2024 Coalfire Systems Inc.

coalfire-aws-ramppak's People

Contributors

douglas-f avatar kourosh-forti-hands 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.