]> git.openstreetmap.org Git - chef.git/commitdiff
Add AWS credentials for osmdbt uploads
authorTom Hughes <tom@compton.nu>
Tue, 10 Oct 2023 16:06:58 +0000 (17:06 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 10 Oct 2023 16:11:54 +0000 (17:11 +0100)
cookbooks/planet/templates/default/aws-config.erb
cookbooks/planet/templates/default/aws-credentials.erb

index 5f0a8c01d5eebf548f655548d38c01fa5e3247fa..f68ce0f1a837b178121de6782c1374249683ad29 100644 (file)
@@ -6,3 +6,12 @@ region = eu-central-1
 s3 =
     max_bandwidth = 100MB/s
     max_concurrent_requests = 256
+
+[profile osm-osmdbt-state]
+region = eu-west-1
+
+[profile osm-osmdbt-state-upload]
+region = eu-west-1
+s3 =
+    max_bandwidth = 100MB/s
+    max_concurrent_requests = 256
index 40ec32c229d8372275d6d078d0a7a0df477d0042..2475b9a919e82d5fc92cdec10179ae631fc9806d 100644 (file)
@@ -5,3 +5,11 @@ aws_secret_access_key = <%= @credentials["osm-pds"] %>
 [osm-pds-upload]
 role_arn=arn:aws:iam::630658470130:role/osm-pds-upload-role
 source_profile=osm-pds
+
+[osm-osmdbt-state]
+aws_access_key_id = AKIASQUXHPE7BNEKJFRQ
+aws_secret_access_key = <%= @credentials["osm-osmdbt-state"] %>
+
+[osm-osmdbt-state-upload]
+role_arn=arn:aws:iam::173189593406:role/osm-osmdbt-state-upload-role
+source_profile=osm-osmdbt-state