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

rename nwp service to include metoffice #469

Open
peterdudfield opened this issue Feb 28, 2024 · 7 comments · Fixed by #476
Open

rename nwp service to include metoffice #469

peterdudfield opened this issue Feb 28, 2024 · 7 comments · Fixed by #476
Labels
good first issue Good for newcomers

Comments

@peterdudfield
Copy link
Contributor

peterdudfield commented Feb 28, 2024

Rename nwp service. To be nwp to nwp-metoffice https://github.com/openclimatefix/ocf-infrastructure/blob/main/terraform/nowcasting/development/main.tf#L138

Similarily replace data-national with data-metoffice

Would be good to do this on development first then we can move over to production

@peterdudfield peterdudfield added the good first issue Good for newcomers label Feb 28, 2024
@aatmanvaidya
Copy link

Hello @peterdudfield, I would like to take this issue up

If I understand it correctly, I just have to rename the nwp to nw-metoffice, so will I have to change the ecs-task_name name variable right? Is there something else that will have to be done

Also, can you give me some more insights on how to setup ocf-infrastructure to test this out, after following this setup guide, will I have to run some tests?

@peterdudfield
Copy link
Contributor Author

Hi @aatmanvaidya thanks so much for taking this up.

Yea thats right, nwp to nwp-metoffice.

testing is now done through CI. So unless you know terraform very well, it might be good to just let the CI do its thing. Sorry if that is very helpful. I would b interested to know if we can test it a different way. terraform validate will get you so far

@aatmanvaidya
Copy link

@peterdudfield understood, will work on this and make a PR at the earliest!

@peterdudfield
Copy link
Contributor Author

Thank you

@aatmanvaidya
Copy link

@peterdudfield I have some small doubts regarding setting up terraform

When I did terraform init inside nowcasting/development, I got an error saying I will have to do terraform login first, I created a login token, but now where do I store/enter this login token? Will I have to create a config file?

Apologies for a silly question, I am a beginner to terraform.

@peterdudfield
Copy link
Contributor Author

yea, sorry, Im not quite sure. You might have to go and read about terraform set up. Or it might be becasue we are setup with the terraform-cloud

@aatmanvaidya
Copy link

@peterdudfield I have raised a PR - #476

please let me know if any changes are required,
thank you for your support all along.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants