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

Does not work for cycloid-community-catalog/stack-gke #54

Open
yashbhutwala opened this issue Aug 25, 2020 · 3 comments
Open

Does not work for cycloid-community-catalog/stack-gke #54

yashbhutwala opened this issue Aug 25, 2020 · 3 comments

Comments

@yashbhutwala
Copy link

cycloid-community-catalog/stack-gke

> inframap generate --hcl ./terraform/module-vpc --raw

strict digraph G {

}

Can you document why and/or how to fix it?

@tormath1
Copy link
Contributor

Hi @yashbhutwala, thanks for raising this point. Actually, there are two main reasons why your graph is empty:

https://github.com/cycloid-community-catalog/stack-gke/blob/bc43e075c6a34f7c60e37e1d144c1fa23448f2ae/terraform/module-vpc/vpc.tf#L6

  • VPC are network resources and we don't display network resources "alone". For InfraMap, VPC is a way of grouping resources together (you have an example of AWS grouping using VPC here: Added: Grouping for VPCs on AWS #37). You can check the cloud providers matrix to see the supported features for each provider.

@yashbhutwala
Copy link
Author

Thanks @tormath1 for the explanation. Can we add docs showing how one would run it on the cycloid-community-catalog/stack-gke repo successfully?

@tormath1
Copy link
Contributor

tormath1 commented Sep 1, 2020

@yashbhutwala the whole stack-gke relies on the source argument. It means it's currently impossible to generate graph from the HCL of the stack-gke.
Would you be interested in adding the source argument support to allow remote module calls ? (#56)

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

No branches or pull requests

2 participants