Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use selectel_domains_domain_v1 with selectel_domains_domain_v1 without casting #175

Open
kirillmakhonin opened this issue Nov 13, 2021 · 1 comment
Assignees

Comments

@kirillmakhonin
Copy link

kirillmakhonin commented Nov 13, 2021

Problem
Data resource selectel_domains_domain_v1 exposes an id attribute with type string
Resource selectel_domains_domain_v1 requires domain_id attribute with type number
In order to create selectel_domains_domain_v1 developers are required to force casting using tonumber function.

Reference in a code

"domain_id": {
Type: schema.TypeInt,
Required: true,
ForceNew: true,
},

@kolsean kolsean assigned kolsean and unassigned kolsean Jan 13, 2022
@tarry-dvice
Copy link

Hello, @kirillmakhonin!

Can you show your manifest and commands examples, please?
I cannot reproduce this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants