Skip to content

Commit

Permalink
Merge pull request #22 from fabi200123/fix-linting
Browse files Browse the repository at this point in the history
Fix IAMInstanceProfile struct field tag
  • Loading branch information
gabriel-samfira authored Jan 10, 2025
2 parents 29ed9ac + db10e22 commit 01ad16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func newExtraSpecsFromBootstrapData(data params.BootstrapInstance) (*extraSpecs,
type extraSpecs struct {
SubnetID *string `json:"subnet_id,omitempty" jsonschema:"pattern=^subnet-[0-9a-fA-F]{17}$,description=The ID of the subnet formatted as subnet-xxxxxxxxxxxxxxxxx."`
SSHKeyName *string `json:"ssh_key_name,omitempty" jsonschema:"description=The name of the Key Pair to use for the instance."`
IAMInstanceProfile *string `json:"iam_instance_profile,omitempty jsonschema:"description=The IAM instance profile to associate with the instance."`
IAMInstanceProfile *string `json:"iam_instance_profile,omitempty" jsonschema:"description=The IAM instance profile to associate with the instance."`
Iops *int32 `json:"iops,omitempty" jsonschema:"description=Specifies the number of IOPS (Input/Output Operations Per Second) provisioned for the volume. Required for io1 and io2 volumes. Optional for gp3 volumes."`
Throughput *int32 `json:"throughput,omitempty" jsonschema:"description=Specifies the throughput (MiB/s) provisioned for the volume. Valid only for gp3 volumes.,minimum=125,maximum=1000"`
VolumeSize *int32 `json:"volume_size,omitempty" jsonschema:"description=Specifies the size of the volume in GiB. Required unless a snapshot ID is provided."`
Expand Down

0 comments on commit 01ad16b

Please sign in to comment.