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

Question regarding modules #24

Open
marksie1988 opened this issue Oct 6, 2023 · 2 comments
Open

Question regarding modules #24

marksie1988 opened this issue Oct 6, 2023 · 2 comments

Comments

@marksie1988
Copy link

Hi Luke,

I've been attempting to setup terraform in a similar format to yourself, however have had some troubles with the yaml data files.

I wanted to see if you would br willing to share the modules you have written? I'm new to terraform and trying to learn, I love the way you use the yaml data files but can't get a working replica of the modules.

Specifically the cloudflare and swarm pve ones.

Any help or pointers would be appreciated

Steve

@browningluke
Copy link
Owner

browningluke commented Oct 11, 2023

Hey @marksie1988,

Thanks for opening this issue! Glad you've found this repo useful.

I currently have a few midterms that have all of my attention, so I might have to delay writing a full detailed response for you - should only be a couple of days. Just wanted to let you know so that you're not left waiting around.

In the meantime, feel free to have a look at this org: https://github.com/browningluke-tf
I put most of my modules here, so you might find something interesting there. Although do note that most of these are archived, that is because I've restructured how I do the modules - see below.

I've also moved a lot of my TF code to this org: https://github.com/orgs/browningluke-iac/repositories?type=all
I have tried to break up this monorepo into a set of smaller, individual repos, and then merge the relevant modules into those repos. I'm sure you'll see what I mean just by digging through there.

I separated it into an organization, rather than my personal account, so that I can give granular permissions to a bot user (just a user I created, and grabbed the PAT) for Terraform Cloud integration.

Hope that helps! Let me know if you have anymore questions :)

@marksie1988
Copy link
Author

Hi Luke,

Thanks for the response, this will help me loads, I didnt realise they were in another org, but thats a neat idea to stop them getting lost in your personal account as well.

Good luck with your midterms.

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