-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no possibility to set iam_instance_profile for the spot fleet request as a global setting #4449
Comments
PR #4511 |
issue #4449 Fix the issue using Arn field instead of Name in IamInstanceProfileSpecification
@TattiQ can you please describe more about where the
|
I have the same issue. Maybe, I find a way to solve this issue.
|
The fix for this (#4591) should be in v1.20.0 of the AWS provider, releasing later this week. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Hi guys,
Apologies if it's something simple, I am new to Terraform.
I have been testing the resource "aws_spot_fleet_request" . The goal is to automate the creation of spot instance requests using terraform. Interesting observation - one can specify iam_instance_profile in the launch_specification for the instances (and then the iam role for the instance is set just fine) , but it will not be visible in the spot instances request settings
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Terraform version: 0.11.7
Affected Resource(s)
Please list the resources as a list, for example:
resource "aws_spot_fleet_request"
Terraform Configuration Files
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Neither DEBUG nor TRACE logging showed anything out of the ordinary
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.no panic
Expected Behavior
What should have happened?
if one creates a request manually, once it's fulfilled the properties look like this
Note IAM role is filled in.
Actual Behavior
What actually happened?
No IAM role, but the instances have the IAM role assigned (since launch config contained it)
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Important Factoids
Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: