Skip to content

Commit

Permalink
fix(llm): secret key connot be found
Browse files Browse the repository at this point in the history
  • Loading branch information
kkiani committed Oct 31, 2024
1 parent 058c83c commit 7642e2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/damavand/cloud/aws/resources/vllm_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ def api_key_secret_ssm(self) -> aws.ssm.Parameter:
resource_name=f"{self._name}-api-key-secret-ssm",
opts=ResourceOptions(parent=self),
name=self.args.api_key_ssm_name,
type=aws.ssm.ParameterType.SECURE_STRING,
value=self.api_key_secret.arn,
type=aws.ssm.ParameterType.STRING,
value=self.api_key_secret.name,
tags=self._tags,
)

Expand All @@ -478,7 +478,7 @@ def api_key_secret_version(self) -> aws.secretsmanager.SecretVersion:
resource_name=f"{self._name}-api-key-secret-version",
opts=ResourceOptions(parent=self, depends_on=[self.api_key_secret]),
secret_id=self.api_key_secret.id,
secret_string=self.admin_api_key.id,
secret_string=self.admin_api_key.value,
)

@property
Expand Down

0 comments on commit 7642e2f

Please sign in to comment.