Skip to content

Commit

Permalink
Correct TypeDef
Browse files Browse the repository at this point in the history
  • Loading branch information
cej-harris committed Sep 23, 2024
1 parent 91ebd96 commit edb5285
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runner_manager/models/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
BlockDeviceMappingTypeDef,
EbsBlockDeviceTypeDef,
IamInstanceProfileTypeDef,
InstanceMetadataOptionsResponseTypeDef,
InstanceMetadataOptionsRequestTypeDef,
TagSpecificationTypeDef,
TagTypeDef,
)
Expand Down Expand Up @@ -146,7 +146,7 @@ class AWSConfig(BackendConfig):
"MaxCount": int,
"MinCount": int,
"IamInstanceProfile": IamInstanceProfileTypeDef,
"MetadataOptions": InstanceMetadataOptionsResponseTypeDef,
"MetadataOptions": InstanceMetadataOptionsRequestTypeDef,
},
)

Expand Down Expand Up @@ -204,8 +204,8 @@ def configure_instance(self, runner: Runner) -> AwsInstance:
iam_instance_profile: IamInstanceProfileTypeDef = IamInstanceProfileTypeDef(
Arn=self.iam_instance_profile_arn
)
instance_metadata_options: InstanceMetadataOptionsResponseTypeDef = (
InstanceMetadataOptionsResponseTypeDef(
instance_metadata_options: InstanceMetadataOptionsRequestTypeDef = (
InstanceMetadataOptionsRequestTypeDef(
InstanceMetadataTags=self.instance_metadata_tags,
)
)
Expand Down

0 comments on commit edb5285

Please sign in to comment.