Is it possible to set the terraform id of a data source/resource through main.tf
? I need to input an id to get a certain item in my provider, but the “id” field is protected so I am using data.Id()
instead.
Is it possible to set the terraform id of a data source/resource through main.tf
? I need to input an id to get a certain item in my provider, but the “id” field is protected so I am using data.Id()
instead.