You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users can today leverage completion capability for introducing a new provider block and new required_providers entry to the configuration, but the experience as whole isn't as seamless as it could be.
Users generally have to follow a particular sequence of steps:
Find terraform block
Find required_providers block within
Add new entry to that block
Find correct provider address to use, such as hashicorp/aws
Find suitable version constraint to use, such as ~>3.53
Add provider block to configure the provider
Ideally users shouldn't need to follow any particular sequence in most cases and all users should need to know is the name of the provider - such as aws to get a working configuration as if all of the above steps were followed.
radeksimko
changed the title
Enhanced UX for introducing new providers to configuration
Enhance UX for introducing new providers to configuration
Aug 6, 2021
Problem Statement
Users can today leverage completion capability for introducing a new
provider
block and newrequired_providers
entry to the configuration, but the experience as whole isn't as seamless as it could be.Users generally have to follow a particular sequence of steps:
terraform
blockrequired_providers
block withinhashicorp/aws
~>3.53
provider
block to configure the providerIdeally users shouldn't need to follow any particular sequence in most cases and all users should need to know is the name of the provider - such as
aws
to get a working configuration as if all of the above steps were followed.Expected User Experience
TODO
Proposal
required_providers
entry terraform-ls#480required_providers
block terraform-ls#440required_providers
code lens terraform-ls#299required_providers
entry on provider completion terraform-ls#370required_providers
terraform-ls#371required_providers
block terraform-ls#440source
&version
#676The text was updated successfully, but these errors were encountered: