Skip to content

Commit eb254d1

Browse files
Merge branch 'main' into data-platform-api
2 parents c7dcb0f + c9b67f0 commit eb254d1

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@
149149
"contributions": [
150150
"code"
151151
]
152+
},
153+
{
154+
"login": "vedantvakharia",
155+
"name": "Vedant Vakharia",
156+
"avatar_url": "https://avatars.githubusercontent.com/u/180512004?v=4",
157+
"profile": "https://github.com/vedantvakharia",
158+
"contributions": [
159+
"doc"
160+
]
152161
}
153162
],
154163
"contributorsPerLine": 7,

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Terraform infrastructure-as-code for cloud environments.
99

1010
[![ease of contribution: medium](https://img.shields.io/badge/ease%20of%20contribution:%20medium-f4900c)](https://github.com/openclimatefix/ocf-meta-repo?tab=readme-ov-file#how-easy-is-it-to-get-involved)
1111
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
12-
[![All Contributors](https://img.shields.io/badge/all_contributors-16-orange.svg?style=flat-square)](#contributors-)
12+
[![All Contributors](https://img.shields.io/badge/all_contributors-17-orange.svg?style=flat-square)](#contributors-)
1313
<!-- ALL-CONTRIBUTORS-BADGE:END -->
1414

1515
<a href="https://app.terraform.io/app/openclimatefix/workspaces" alt="Terraform Cloud">
@@ -35,16 +35,18 @@ folders within the `terraform` directory, along with reusable modules and unitte
3535
ocf-infrastructure:
3636
terraform: # Contains all the terraform code for OCF's cloud infrastructure
3737
modules: # Portable terraform modules defining specific cloud infrastructure blocks
38-
nowcasting: # Specific code for the nowcasting domain's cloud infrastructure
39-
pvsite: # Specific code for the nowcasting domain's cloud infrastruture
38+
nowcasting: # Specific code for the nowcasting domain's cloud infrastructure (includes PV site services)
39+
development: # Development environment configuration
40+
production: # Production environment configuration
41+
india: # India-specific infrastructure
4042
unittests: # Specific infrastructure code for a environment to test the modules
4143
local-stack: # Code to run the terraform stack locally for local testing/development
4244
.github: # Contains github-specific code for automated CI workflows
4345
```
4446
4547
See the README's in the domain folders for more information on their architecture:
46-
- [Nowcasting Domain](terraform/nowcasting/README.md)
47-
- [PVSite Domain](terraform/pvsite/README.md)
48+
- [Nowcasting Domain (Development)](terraform/nowcasting/development/README.md)
49+
- [Nowcasting Domain (Production)](terraform/nowcasting/production/README.md)
4850
- [Modules](terraform/modules/README.md)
4951
5052
@@ -93,6 +95,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
9395
<tr>
9496
<td align="center" valign="top" width="14.28%"><a href="https://github.com/felix-se-cat"><img src="https://avatars.githubusercontent.com/u/145403025?v=4?s=100" width="100px;" alt="Felix"/><br /><sub><b>Felix</b></sub></a><br /><a href="https://github.com/openclimatefix/ocf-infrastructure/commits?author=felix-se-cat" title="Code">💻</a></td>
9597
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Pradyumn-cloud"><img src="https://avatars.githubusercontent.com/u/183612033?v=4?s=100" width="100px;" alt="Pradyumn Prasad"/><br /><sub><b>Pradyumn Prasad</b></sub></a><br /><a href="https://github.com/openclimatefix/ocf-infrastructure/commits?author=Pradyumn-cloud" title="Code">💻</a></td>
98+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/vedantvakharia"><img src="https://avatars.githubusercontent.com/u/180512004?v=4?s=100" width="100px;" alt="Vedant Vakharia"/><br /><sub><b>Vedant Vakharia</b></sub></a><br /><a href="https://github.com/openclimatefix/ocf-infrastructure/commits?author=vedantvakharia" title="Documentation">📖</a></td>
9699
</tr>
97100
</tbody>
98101
</table>

terraform/nowcasting/production/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ module "api" {
9797
{ "name" : "ADJUST_MW_LIMIT", "value" : "1000" },
9898
{ "name" : "N_HISTORY_DAYS", "value" : "2" },
9999
{ "name" : "ENVIRONMENT", "value" : local.environment },
100+
{ "name" : "APITALLY_CLIENT_ID", "value" : var.apitally_client_id},
100101
]
101102
container-name = "nowcasting_api"
102103
container-tag = var.api_version

terraform/nowcasting/production/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,9 @@ variable "data_platform_api_version" {
7575
type = string
7676
description = "Docker verions for the data platform api"
7777
default = "0.15.0"
78+
}
79+
80+
variable "apitally_client_id" {
81+
description = "The client id for APItally"
82+
default = ""
7883
}

0 commit comments

Comments
 (0)