[arvados] created: 2.7.0-6508-gada39ab36a

git repository hosting git at public.arvados.org
Fri Apr 26 20:34:32 UTC 2024


        at  ada39ab36a4a45426ecfbbebe3ea68a22d240e67 (commit)


commit ada39ab36a4a45426ecfbbebe3ea68a22d240e67
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Fri Apr 26 16:45:42 2024 -0300

    21383: Adds http_endpoint="enabled" to Terraform's ec2 instances code.
    
    Although the documentation states that it's enabled by default, I was getting
    an error like this:
    
    Error: creating EC2 Instance: InvalidParameterValue: A value of '' is not valid for HttpEndpoint. Specify either 'enabled' or 'disabled' and try again.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/tools/salt-install/terraform/aws/services/main.tf b/tools/salt-install/terraform/aws/services/main.tf
index 54e2fc412b..06564edad6 100644
--- a/tools/salt-install/terraform/aws/services/main.tf
+++ b/tools/salt-install/terraform/aws/services/main.tf
@@ -70,6 +70,7 @@ resource "aws_instance" "arvados_service" {
   metadata_options {
     # Sets IMDSv2 to required. Default is "optional".
     http_tokens = "required"
+    http_endpoint = "enabled"
   }
   lifecycle {
     ignore_changes = [

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list