Hello, I’m trying to add aws_iam_saml_provider
tags, but it shows me that the resource is not expecting this attribute, however in official docs it shows that it supports the tags.
–
Actual error:
Error: Unsupported argument
on ../../Resources/Identity/main.tf line 46, in resource "aws_iam_saml_provider" "saml":
46: tags = merge(
An argument named "tags" is not expected here.
Document from official web page of Terraform:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_saml_provider#name
The following arguments are supported:
-
name
- (Required) The name of the provider to create. -
saml_metadata_document
- (Required) An XML document generated by an identity provider that supports SAML 2.0. -
tags
- (Optional) Map of resource tags for the IAM SAML provider.
As well I would like to ask how to get its ARN
via any data source in terraform, as I’m running this module in separate terraform plan