Skip to content

Commit

Permalink
Revert "Add metadata service v2 to terraform/ec2-examples/distributed…
Browse files Browse the repository at this point in the history
…-ml-training" (#188)

* Revert "Add metadata service v2 to terraform/ec2-examples/distributed-ml-training"

* Update README.md typo

* Update requirements.txt

follow pre commit guidance
  • Loading branch information
joozero authored Feb 2, 2024
1 parent 7c7fc32 commit bbd2852
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion cdk/examples/generative_ai_service/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ boto3
sagemaker==2.183.0
sentence_transformers
opensearch-py
torch==2.1.1
torch==2.1.1
10 changes: 0 additions & 10 deletions terraform/ec2-examples/distributed-ml-training/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,6 @@ module "autoscaling_head" {
}

tags = local.tags

metadata_options = {
http_endpoint = "enabled"
http_tokens = "required"
}
}

module "autoscaling_workers" {
Expand Down Expand Up @@ -182,11 +177,6 @@ module "autoscaling_workers" {
]

tags = local.tags

metadata_options = {
http_endpoint = "enabled"
http_tokens = "required"
}
}

module "autoscaling_sg" {
Expand Down

0 comments on commit bbd2852

Please sign in to comment.