I am creating a user account in AWS via terraform that will need access to a AWS CodeCommit repository. I would like the user to be able to access CodeCommit over HTTPS, but I have not been unable to find a way to generate / set the HTTPS Git credentials for the user through terraform.
I am currently working around this by using the aws_iam_user_ssh_key resource to upload a public key and having the user interact with CodeCommit over SSH.
Does someone know how to generate HTTPS Git credentials with terraform?