Comments (2)
Hi @mrhello369 ,
Thank you for your patience.
The code sample you attached is too large. Any chance you can provide a concise snippet that raises this error?
I tried going through the ec2 model and write my own sample, but I did not see a parameter named amiIdList
anywhere. If I had to guess this is an internal error leaking. What Im guessing is missing from your code is the amiId
parameter. Either specified in the template, or if you are using a fleet of type "instant" you can specify amiId
as an override.
input := &ec2.CreateFleetInput{
LaunchTemplateConfigs: []*ec2.FleetLaunchTemplateConfigRequest{{
LaunchTemplateSpecification: &ec2.FleetLaunchTemplateSpecificationRequest{
LaunchTemplateId: aws.String("<LaunchTemplateId>"),
},
Overrides: []*ec2.FleetLaunchTemplateOverridesRequest{{
ImageId: aws.String("override ImageId here"),
}},
}},
TargetCapacitySpecification: &ec2.TargetCapacitySpecificationRequest{
TotalTargetCapacity: aws.Int64(1),
},
Type: aws.String("instant"),
}
Can you give this a try and let me know if this works?
All the best,
Ran~
from aws-sdk-go.
This issue has not received a response in 1 week. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.
from aws-sdk-go.
Related Issues (20)
- PutObjectWithContext SerializationError: failed to determine start of request body HOT 2
- Cost Explorer Api. Can't group request by Tag. HOT 2
- Support EFS replication overwrite protection values HOT 4
- Token provider in EC2 metadata does not respect the logging decision HOT 3
- Context canceled error on sfn.StartExecutionWithContext after lib update HOT 2
- No EC2 IMDS role found HOT 4
- S3 GetObjectRequest flakily has empty RequestID HOT 2
- RequestContext.Authorizer differs between REST gateway vs HTTP gateway HOT 2
- sso-session config file section doen't work. HOT 7
- identitystore apis failing with url error HOT 2
- Panic / segfault (SIGSEGV) during an active EC2 ssh session (with aws ssm & SSO) HOT 2
- PutObject does not add Content-Length in the headers when it is specified in the parameters and the body is not Seekable HOT 2
- Calling ListBucket result error, only return partial result HOT 1
- SSO Cache filename should be based on `sso_session` in addition to `sso_start_url` HOT 4
- For outbound https/tls connections please have the tls server name set HOT 2
- Cannot use ml.t3.medium in region due to validation HOT 2
- SQS ReceiveMessageWithContext: SerializationError: failed to unmarshal response error HOT 5
- AWS Glue: BIGQUERY connection type support HOT 6
- Announcing end-of-support for AWS SDK for Go (v1) effective July 31, 2025
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-go.