Skip to content
Discussion options

You must be logged in to vote

Solved - https://docs.aws.amazon.com/IAM/latest/APIReference/API_VirtualMFADevice.html && https://github.com/hashicorp/terraform-provider-aws/blob/8a190d445a23d0624fbb47afba1be2c5045022c8/internal/service/iam/virtual_mfa_device.go#L114

The SerialNumber was actually part of the VirtualMFADevice... hiding as the terraform resource id ugh, sorry for the noise. It now works :-) I was able to create the virtual mfa device in IAM, backed by totp-cli, and just waiting to see if it will satisfy IAM.19 (https://docs.aws.amazon.com/securityhub/latest/userguide/iam-controls.html#iam-19) for SecurityHub

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yitsushi
Comment options

Answer selected by yitsushi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants