Skip to content

Commit

Permalink
get PV secret (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield authored Oct 30, 2024
1 parent ba9c0fc commit b3b2cf2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions terraform/nowcasting/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The componentes ares:
2.1 - Database
2.2 - NWP Consumer Secret
2.3 - Satellite Consumer Secret
2.4 - PV Secret
3.2 - NWP Consumer (MetOffice National)
3.3 - NWP Consumer (ECMWF UK)
3.4 - Satellite Consumer
Expand Down Expand Up @@ -139,6 +140,19 @@ resource "aws_secretsmanager_secret" "satellite_consumer_secret" {
name = "${local.environment}/data/satellite-consumer"
}

# 2.4
# TODO remove
import {
to = aws_secretsmanager_secret.pv_consumer_secret
id = "arn:aws:secretsmanager:eu-west-1:008129123253:secret:development/consumer/solar_sheffield-2Tyskm"
}

resource "aws_secretsmanager_secret" "pv_consumer_secret" {
name = "${local.environment}/data/solar-sheffield"
}




# 3.2
module "nwp-national" {
Expand Down

0 comments on commit b3b2cf2

Please sign in to comment.