Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorg : tf resource mapping as yaml file #80

Merged
merged 12 commits into from
Aug 31, 2023

Conversation

obierlaire
Copy link
Collaborator

In order to be able to add more providers and resource types more easily, we will be able to add internal/plan/mappings:

  1. Add your provider name mapping in internal/plan/resources.go parseProvider(tfProviderName string)
  2. Add a folder in internal/plan/mappings
  3. In this folder, add a general.yaml (see other mapping examples)
  4. In this folder add rest of mapping files
  5. Add few tests

Mapping structure need to match internal/plan/mappingStructs.go

@obierlaire obierlaire self-assigned this Aug 31, 2023
@obierlaire obierlaire marked this pull request as ready for review August 31, 2023 15:31
@obierlaire obierlaire merged commit 97ad90f into carboniferio:main Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant