Skip to content

Instantly share code, notes, and snippets.

View sathya-potharla's full-sized avatar

sathya-potharla

View GitHub Profile
@sathya-potharla
sathya-potharla / oidc_role
Created January 24, 2022 15:23
oidc_role
locals {
github_repos = toset( [for repo in var.github_lambda_repos : join("", ["repo:santander-group-uk/", repo, ":*"])] )
}
## Role for the service account
resource "aws_iam_role" "Github-EKS-Deploy" {
name = "local-github-eks-deploy-ole"
permissions_boundary = "arn:aws:iam::${var.account_id}:policy/AccountAutomation_policy_and_boundary"
description = "role to deploy to eks"
# Source: https://gist.github.com/0431989df4836eb82bdac0cc53c7f3d6
# Used in https://youtu.be/R6OeIgb7lUI
##############################
# Flux 2 With GitOps Toolkit #
##############################
# What Is GitOps And Why Do We Want It?: https://youtu.be/HKkhD6nokC8
# Argo CD: Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4