[Solved] env01 - .gitmodules error
I am trying to figure out why I am getting this error:
I just forked the vault-202 repo and pointed it to my env0 project environments.
These are the DEPLOYMENT-LOGS
> git clone 'https://user:*************@github.com/rmarcandier13/vault-202' /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2 --no-single-branch '--depth=1'
Cloning into '/tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2'...
> git -C /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2 fetch --prune --no-recurse-submodules '--depth=1' origin main
From https://github.com/rmarcandier13/vault-202 * branch main -> FETCH_HEAD
> git -C /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2 checkout main --
Already on 'main'
Your branch is up to date with 'origin/main'.
> (cd /tmp/ae910295-7741-4bcd-8d50-40a9f418bbd2; git submodule update --depth=1 --init --recursive --jobs 2)
fatal: No url found for submodule path 'Section12-AdvancedVaultAuthenticationTopics/ad_ldap/vagrant-active-directory' in .gitmodules
Which lab in section 12 are you working on? 12d,the AD one? If so, you don't need Terraform for this one. I noticed I still have a a directory called ad_ldap which I need to remove as it's not used. I was trying to see if I can run LDAP in Vagrant for testing but then opted to use a real AD server in my home lab to demonstrate Vault with.
Thank you for your quick reply.
I started the videos in Session 4, and I am currently on the video "Deploy a Production OSS Cluster"
I am using this directory on env0 -->> Section04-Vault_OSS_Cluster/Lab04a
When I press the button to create the Cluster, I get this error on the .gitmodules.
Can you try it from your end and check if you are able to create it?
fatal: No url found for submodule path 'Section12-AdvancedVaultAuthenticationTopics/ad_ldap/vagrant-active-directory
It's strange that the error is pointing to a different folder than section 4. Are you sure the env0 template is pointing to the
folder under the VCS tab for GitHub as shown in the video?
yes, I am sure. I already tried 4 times and get same error...
Is it working totally fine from your end?
I appreciate your support ;) It did the trick!