Skip to content

Commit

Permalink
Added migration
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Dec 11, 2024
1 parent 7fb4a8c commit 5743d55
Show file tree
Hide file tree
Showing 16 changed files with 422 additions and 1 deletion.
82 changes: 82 additions & 0 deletions README.md.simple.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{{- defineDatasource "config" .Env.README_YAML -}}
{{- defineDatasource "includes" (env.Getenv "README_INCLUDES" | default "./") -}}
{{- $deprecated := has (ds "config") "deprecated" }}


<!-- markdownlint-disable -->
{{ if $deprecated -}}
# (deprecated) {{(ds "config").name}}
{{- else }}
# {{(ds "config").name}} <a href="{{ $homepage }}"><img align="right" src="{{ $logo }}" width="150" /></a>
{{ end }}
{{- if $deprecated -}}<img src="https://img.shields.io/badge/lifecycle-deprecated-critical?style=for-the-badge" alt="Deprecated"/>{{- end -}}
<!-- markdownlint-restore -->

<!--




** DO NOT EDIT THIS FILE
**
** This file was automatically generated by the `cloudposse/build-harness`.
** 1) Make all changes to `README.yaml`
** 2) Run `make init` (you only need to do this once)
** 3) Run`make readme` to rebuild this file.
**
** (We maintain HUNDREDS of open source projects. This is how we maintain our sanity.)
**





-->
{{- if $deprecated }}
## Deprecated

{{ if has (ds "config").deprecated "notice" }}
{{- (ds "config").deprecated.notice }}
{{- else }}
> [!IMPORTANT]
> This module is no longer actively maintained
{{- end }}
{{- end }}

{{ if has (ds "config") "description" }}
{{(ds "config").description }}
{{- end }}
{{- else }}
{{- if has (ds "config") "description" }}
{{ (ds "config").description }}
{{- end }}
{{- end }}

{{ if has (ds "config") "introduction" }}
## Introduction

{{ (ds "config").introduction }}
{{ end }}

{{ if has (ds "config") "usage" }}
## Usage

{{ if not $deprecated -}}
{{ if has (ds "config") "quickstart" -}}
## Quick Start

{{ (ds "config").quickstart -}}
{{ end }}

{{- if has (ds "config") "examples" }}
## Examples

{{ (ds "config").examples }}
{{ end }}

{{ if has (ds "config") "include" }}
{{ range $file := (datasource "config").include -}}
{{ (include "includes" $file) }}
{{- end }}
{{- end }}
{{- end}}
6 changes: 6 additions & 0 deletions migrate/migrations/20241112/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## what
- Copy CHANGELOG.md to `src/CHANGELOG.md`
- Generate `src/README.md` from `README.yaml`

## why
- `atmos vendor` should get readme files
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-00
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-zscaler
cloudposse-terraform-components/aws-vpc-peering
cloudposse-terraform-components/aws-vpc-flow-logs-bucket
cloudposse-terraform-components/aws-vpc
cloudposse-terraform-components/aws-tgw-hub-connector
cloudposse-terraform-components/aws-tfstate-backend
cloudposse-terraform-components/aws-ssm-parameters
cloudposse-terraform-components/aws-spacelift-worker-pool-asg
cloudposse-terraform-components/aws-spacelift-spaces
cloudposse-terraform-components/aws-spa-s3-cloudfront
cloudposse-terraform-components/aws-sns-topic
cloudposse-terraform-components/aws-snowflake-database
cloudposse-terraform-components/aws-snowflake-account
cloudposse-terraform-components/aws-ses
cloudposse-terraform-components/aws-s3-bucket
cloudposse-terraform-components/aws-redshift-serverless
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-01
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-redshift
cloudposse-terraform-components/aws-rds
cloudposse-terraform-components/aws-philips-labs-github-runners
cloudposse-terraform-components/aws-opsgenie-team
cloudposse-terraform-components/aws-network-firewall
cloudposse-terraform-components/aws-mwaa
cloudposse-terraform-components/aws-mq-broker
cloudposse-terraform-components/aws-managed-prometheus-workspace
cloudposse-terraform-components/aws-managed-grafana-workspace
cloudposse-terraform-components/aws-lakeformation
cloudposse-terraform-components/aws-kinesis-stream
cloudposse-terraform-components/aws-iam-service-linked-roles
cloudposse-terraform-components/aws-iam-role
cloudposse-terraform-components/aws-glue-schema
cloudposse-terraform-components/aws-glue-job
cloudposse-terraform-components/aws-glue-crawler
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-02
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-glue-connection
cloudposse-terraform-components/aws-glue-catalog-table
cloudposse-terraform-components/aws-global-accelerator-endpoint-group
cloudposse-terraform-components/aws-global-accelerator
cloudposse-terraform-components/aws-github-runners
cloudposse-terraform-components/aws-github-action-token-rotator
cloudposse-terraform-components/aws-elasticsearch
cloudposse-terraform-components/aws-elasticache-redis
cloudposse-terraform-components/aws-eks-tailscale
cloudposse-terraform-components/aws-eks-storage-class
cloudposse-terraform-components/aws-eks-redis-operator
cloudposse-terraform-components/aws-eks-redis
cloudposse-terraform-components/aws-eks-karpenter-controller
cloudposse-terraform-components/aws-eks-idp-roles
cloudposse-terraform-components/aws-eks-github-actions-runner
cloudposse-terraform-components/aws-eks-echo-server
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-03
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-eks-cert-manager
cloudposse-terraform-components/aws-efs
cloudposse-terraform-components/aws-ecr
cloudposse-terraform-components/aws-dns-primary
cloudposse-terraform-components/aws-dns-delegated
cloudposse-terraform-components/aws-datadog-monitor
cloudposse-terraform-components/aws-datadog-integration
cloudposse-terraform-components/aws-config-bucket
cloudposse-terraform-components/aws-cloudwatch-logs
cloudposse-terraform-components/aws-cloudtrail-bucket
cloudposse-terraform-components/aws-cloudtrail
cloudposse-terraform-components/aws-bastion
cloudposse-terraform-components/aws-backup
cloudposse-terraform-components/aws-aurora-postgres
cloudposse-terraform-components/aws-account-settings
cloudposse-terraform-components/aws-account-map
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-04
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-account
cloudposse-terraform-components/aws-access-analyzer
cloudposse-terraform-components/aws-waf
cloudposse-terraform-components/aws-tgw-spoke
cloudposse-terraform-components/aws-tgw-hub
cloudposse-terraform-components/aws-strongdm
cloudposse-terraform-components/aws-sso-saml-provider
cloudposse-terraform-components/aws-sqs-queue
cloudposse-terraform-components/aws-eks-spacelift-worker-pool
cloudposse-terraform-components/aws-eks-spacelift-worker-pool-controller
cloudposse-terraform-components/aws-spacelift-admin-stack
cloudposse-terraform-components/aws-site-to-site-vpn
cloudposse-terraform-components/aws-sftp
cloudposse-terraform-components/aws-security-hub
cloudposse-terraform-components/aws-runs-on
cloudposse-terraform-components/aws-route53-resolver-dns-firewall
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-05
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-msk
cloudposse-terraform-components/aws-memorydb
cloudposse-terraform-components/aws-managed-grafana-data-source-managed-prometheus
cloudposse-terraform-components/aws-managed-grafana-data-source-loki
cloudposse-terraform-components/aws-managed-grafana-dashboard
cloudposse-terraform-components/aws-managed-grafana-api-key
cloudposse-terraform-components/aws-macie
cloudposse-terraform-components/aws-lambda
cloudposse-terraform-components/aws-kms
cloudposse-terraform-components/aws-ipam
cloudposse-terraform-components/aws-guardduty
cloudposse-terraform-components/aws-glue-workflow
cloudposse-terraform-components/aws-glue-trigger
cloudposse-terraform-components/aws-glue-registry
cloudposse-terraform-components/aws-glue-iam
cloudposse-terraform-components/aws-glue-catalog-database
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-06
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-github-webhook
cloudposse-terraform-components/aws-github-oidc-role
cloudposse-terraform-components/aws-github-oidc-provider
cloudposse-terraform-components/aws-eventbridge
cloudposse-terraform-components/aws-eks-reloader
cloudposse-terraform-components/aws-eks-promtail
cloudposse-terraform-components/aws-eks-prometheus-scraper
cloudposse-terraform-components/aws-eks-metrics-server
cloudposse-terraform-components/aws-eks-loki
cloudposse-terraform-components/aws-eks-keda
cloudposse-terraform-components/aws-eks-karpenter-node-pool
cloudposse-terraform-components/aws-eks-external-secrets-operator
cloudposse-terraform-components/aws-eks-external-dns
cloudposse-terraform-components/aws-eks-datadog-agent
cloudposse-terraform-components/aws-eks-cluster
cloudposse-terraform-components/aws-eks-node-termination-handler
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-07
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-eks-argocd
cloudposse-terraform-components/aws-argocd-github-repo
cloudposse-terraform-components/aws-eks-alb-controller-ingress-group
cloudposse-terraform-components/aws-eks-alb-controller-ingress-class
cloudposse-terraform-components/aws-eks-alb-controller
cloudposse-terraform-components/aws-eks-actions-runner-controller
cloudposse-terraform-components/aws-ecs-service
cloudposse-terraform-components/aws-ecs
cloudposse-terraform-components/aws-ec2-instance
cloudposse-terraform-components/aws-ec2-client-vpn
cloudposse-terraform-components/aws-dynamodb
cloudposse-terraform-components/aws-documentdb
cloudposse-terraform-components/aws-dms-replication-task
cloudposse-terraform-components/aws-dms-replication-instance
cloudposse-terraform-components/aws-dms-iam
cloudposse-terraform-components/aws-dms-endpoint
16 changes: 16 additions & 0 deletions migrate/migrations/20241112/repos-08
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cloudposse-terraform-components/aws-datadog-synthetics-private-location
cloudposse-terraform-components/aws-datadog-synthetics
cloudposse-terraform-components/aws-datadog-private-location-ecs
cloudposse-terraform-components/aws-datadog-logs-archive
cloudposse-terraform-components/aws-datadog-lambda-forwarder
cloudposse-terraform-components/aws-datadog-credentials
cloudposse-terraform-components/aws-cognito
cloudposse-terraform-components/aws-cloudmap-namespace
cloudposse-terraform-components/aws-team-roles
cloudposse-terraform-components/aws-teams
cloudposse-terraform-components/aws-ssosync
cloudposse-terraform-components/aws-saml
cloudposse-terraform-components/aws-identity-center
cloudposse-terraform-components/aws-shield
cloudposse-terraform-components/aws-inspector2
cloudposse-terraform-components/aws-inspector
15 changes: 15 additions & 0 deletions migrate/migrations/20241112/repos-09
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cloudposse-terraform-components/aws-config
cloudposse-terraform-components/aws-auth0-tenant
cloudposse-terraform-components/aws-auth0-connection
cloudposse-terraform-components/aws-auth0-app
cloudposse-terraform-components/aws-aurora-postgres-resources
cloudposse-terraform-components/aws-aurora-mysql-resources
cloudposse-terraform-components/aws-aurora-mysql
cloudposse-terraform-components/aws-athena
cloudposse-terraform-components/aws-api-gateway-rest-api
cloudposse-terraform-components/aws-api-gateway-account-settings
cloudposse-terraform-components/aws-amplify
cloudposse-terraform-components/aws-alb
cloudposse-terraform-components/aws-acm
cloudposse-terraform-components/aws-account-quotas
cloudposse-terraform-components/aws-alb-experimental
5 changes: 5 additions & 0 deletions migrate/migrations/20241112/repos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
gh repo list cloudposse-terraform-components --limit 500 --json name,owner \
--jq '.[] | select(.name | test("^aws")) | .owner.login + "/" + .name' > repos.txt

split -d -l 16 repos.txt repos-
Loading

0 comments on commit 5743d55

Please sign in to comment.