与GitHub 集成:由于 GitHub Actions 集成 Terraform,可以直接与 GitHub 仓库进行集成,帮助开发者更好地管理代码和部署过程。 2.2 缺点 学习成本:使用 Terraform 和 GitHub Actions 集成需要一定的学习成本,需要掌握 Terraform 和 GitHub Actions 的基本知识和技能。 复杂性:Terraform 作为一种基础设施即代码工具,需要开发...
data"http""github_actions_openid_configuration"{url="https://token.actions.githubusercontent.com/.well-known/openid-configuration"}data"tls_certificate""github_actions"{url=jsondecode(data.http.github_actions_openid_configuration.body).jwks_uri}resource"aws_iam_openid_connect_provider""github_actions...
mingyu110 Solution:AWS HybridDNS ArchitectureAug 30, 2024 eb8d907· Aug 30, 2024 History31 Commits Cloud-Serverless-Project add variables.tfavrs Aug 8, 2024 Terraform_GithubActions_AWS Update README.md Jul 16, 2024 aws-terraform-hybrid-dns Solution:AWS HybridDNS Architecture Aug 30, 2024 ec...
Automating with GitHub Actions Contributing License Contact Introduction This repository provides infrastructure-as-code configurations written in Terraform for deploying and managing a variety of AWS services. The configurations are organized into modular and non-modular implementations to offer flexibility and...
Terraform module to create AWS Security Group and rules. Tip 👽 Use Atmos with Terraform Cloud Posse usesatmosto easily orchestrate multiple environments using Terraform. Works withGithub Actions,Atlantis, orSpacelift. Watch demo of using Atmos with Terraform ...
GitHub Actionsself-hostedrunners provide a flexible option to run CI workloads on the infrastructure of your choice. Currently, no option is provided to automate the creation and scaling of action runners. This module creates the AWS infrastructure to host action runners on spot instances. It provi...
name policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonRDSEnhancedMonitoringRole" } # allow rds to assume this role data "aws_iam_policy_document" "enhanced_monitoring" { statement { actions = [ "sts:AssumeRole", ] effect = "Allow" principals { type = "Service" identifiers = ...
在上一篇文章《通过Terraform在AWS云中部署资源(一):简单入门》中通过一个main.tf文件创建了一台ec2并关联了已有vpc子网和安全组。 Terraform模块概述 如果需要创建更复杂的资源,像新建一个vpc、子网、安全组,并创建一个eks集群关联到新建的vpc中,如果全部放到一个tf文件里,那么tf文件将非常复杂,并且像创建vpc这种通...
- name: Checkout code uses: actions/checkout@v3 - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: aws-region: ${{ secrets.AWS_REGION }} role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github - run: aws sts get-caller-identityRe...
terraform-aws-mwaa Terraform module to provision Amazon Managed Workflows for Apache AirflowTip 👽 Use Atmos with Terraform Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. Works with Github Actions, Atlantis, or Spacelift. Watch demo of using Atmos with Terraform...