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

Document oidc-agent, fedcloudclient and terraform #515

Conversation

gwarf
Copy link
Member

@gwarf gwarf commented Oct 17, 2022

Document using oidc-agent, fedcloudclient and terraform altogether.
Using Dynamic DNS too.

I had to do this for myself so thought it may be nice to have some kind of of very guided tutorial/setup for starting up with a more advanced CLI usage.

@gwarf gwarf added the safe for preview Pull request vetted as safe for preview label Oct 17, 2022
@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

1 similar comment
@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@gwarf
Copy link
Member Author

gwarf commented Oct 17, 2022

I've also some bits allowing to prepare some kind of template repository, that could also include requirements.txt to setup the python module, required terraform files and also using terraform an ansible inventory file, and a requirements.yml to install some ansible module and run it against the deployed VM.
Maybe having this as a ral repo template may be handy/useful for some?

@EGI-ILM
Copy link
Contributor

EGI-ILM commented Oct 17, 2022

I am getting 404 from https://docs.egi.eu/documentation/515

Not sure if this is related or useful, but I documented some guides here:

@gwarf
Copy link
Member Author

gwarf commented Oct 18, 2022

The 404 is the usual one when the preview is marked as deployed but not yet reachable for real, now it's here: https://docs.egi.eu/documentation/515/users/tutorials/oidc-agent-fedcloudclient-terraform/ (it's a WIP, some content, like the terraform files, is missing).

Currently my position/feeling is to aim at "promoting" tools that are properly maintained by an upstream and that we are sure will stay for long (ie thinks like terraform, oidc-agent and fedcloudclient, compared to home made scripts) , but I think providing a bunch of places/repo where people could look for more advanced stuff would be nice. But drawing the line about what to document or not is always difficult, especially as some stuff may become outdated.

Concerning your repositories (nice work!), we may at least want to reference them somewhere, so that people can find them.
In the end I feel we are apparently all maintaining some personal documentation or even advanced scripts like yours, so while it's expected people will have to dive into stuff to understand/own them, there is some duplication of effort and lack of reuse and sharing, and I feel those resources may be interesting for other users.

Maybe we could at least add a section with some references to advanced tools/resources/repositories with a short description?

@EGI-ILM
Copy link
Contributor

EGI-ILM commented Oct 18, 2022

I agree, there is an inherent peril in maintaining documentation about products and tools that change rapidly, as the documentation becomes outdated and it is impossible to keep up.

I shared the links in my comment exactly for the issue you mention: checking if my work could help to avoid duplicated work. There is actually overlapping between my Terraform repository and this new tutorial.
In my case, I created the repositories to address specific requests from the community ("how can I use Terraform on EGI infrastructure" and "how can I run disposable containers with automated means on EGI infrastructure" respectively). I just wanted to give a tested, specific step-by-step guide, which is easier than going through the whole documentation of disparate sources. In the case of Terraform I gave manual steps, but also created a user-friendly script, something as simple as possible for the user to have all the work done for them (e.g. it automatically creates Terraform files with the available flavours of a specific site, etc). This will solve the current community needs, but may require some updates in future...

As you mention, maybe the best is to link these guides from the docs. This way, if something is not relevant anymore, the link can be easily removed. Or it can be kept to serve as the base for updates or new requests. I think it is important to keep track of this efforts and knowledge, otherwise it will get lost. For example, other people did also a similar exercise with Terraform in the past, but this effort is not registered anywhere.

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@gwarf
Copy link
Member Author

gwarf commented Oct 20, 2022

@enolfc, @sebastian-luna-valero is it fine for now?

Copy link
Member

@sebastian-luna-valero sebastian-luna-valero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me, many thanks again for putting this together!

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

Copy link
Contributor

@enolfc enolfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

Documentation preview deployed!

Available at https://docs.egi.eu/documentation/515

@gwarf gwarf merged commit 46f2233 into EGI-Federation:main Oct 21, 2022
@gwarf gwarf deleted the quickstart_oidc-agent_fedcloudclient_terraform_vo.access.egi.eu branch October 21, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe for preview Pull request vetted as safe for preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants