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

Move tf to main deploy directory. #128

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Move tf to main deploy directory. #128

merged 1 commit into from
Jan 13, 2025

Conversation

pantierra
Copy link
Collaborator

No description provided.

@pantierra pantierra requested a review from minrk January 9, 2025 14:36
@pantierra pantierra force-pushed the feature/deploy-move-tf branch from e36f814 to 7f0a319 Compare January 9, 2025 14:38
@minrk
Copy link
Collaborator

minrk commented Jan 13, 2025

I think this move is fine since tofu is being used for single shared deployment. However, I cannot test it because it appears somethings have been added without required dependencies:

│ Error: Invalid provider configuration
│
│ Provider "registry.opentofu.org/hashicorp/openstack" requires explicit configuration. Add a provider block to the root module and configure the provider's required arguments as described in the provider documentation.
│
╵
╷
│ Error: One of 'auth_url' or 'cloud' must be specified
│
│   with provider["registry.opentofu.org/hashicorp/openstack"],
│   on provider["registry.opentofu.org/hashicorp/openstack"] with no configuration line 1:
│   (source code not available)

but the openstack provider is not listed, so I'm not sure how the openstack_networking_floatingip_v2 could have been added, since it produces errors and doesn't have the required provider declared.

@pantierra
Copy link
Collaborator Author

Added the openstack provider.

@pantierra pantierra force-pushed the feature/deploy-move-tf branch from 95d7f88 to 53389ea Compare January 13, 2025 13:19
@minrk
Copy link
Collaborator

minrk commented Jan 13, 2025

Added the openstack provider.

Looks like it was added in 95d7f88 and then removed again in 53389ea

@pantierra
Copy link
Collaborator Author

pantierra commented Jan 13, 2025

Sorry if this is confusing. It seems to be part of 53389ea.

@minrk
Copy link
Collaborator

minrk commented Jan 13, 2025

ah, I see it was pushed to main in 90ee99e. It still doesn't work, though with 53389ea:

╷
│ Error: Invalid provider configuration
│
│ Provider "registry.opentofu.org/terraform-provider-openstack/openstack" requires explicit configuration. Add a provider block to the root module and configure the provider's required arguments as described in the provider documentation.
│
╵
╷
│ Error: One of 'auth_url' or 'cloud' must be specified
│
│   with provider["registry.opentofu.org/terraform-provider-openstack/openstack"],
│   on provider["registry.opentofu.org/terraform-provider-openstack/openstack"] with no configuration line 1:
│   (source code not available)
│
╵

Looks like you maybe have some OS_ environment variable set that need to be added to secrets/ovh-creds.sh

Looks like the openstack provider is missing required configuration.

@pantierra
Copy link
Collaborator Author

Indeed the openrc.sh needs to be obtained from OVH (see docs). I will add some documentation in our docs directory for it.

@minrk
Copy link
Collaborator

minrk commented Jan 13, 2025

Thanks. I'll make sure the missing credentials are in secrets/ovh-creds.sh

@minrk minrk merged commit 9f66a45 into main Jan 13, 2025
1 check passed
@minrk minrk deleted the feature/deploy-move-tf branch January 13, 2025 15:16
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.

2 participants