Azure / Azure/relational-infrastructure

lock_mode duplicate local value definition

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

The local named "lock_mode" is defined in both \subscription_infra_map\locals.tf and \subscription_infa_map\locals.locks.tf, causing the error below when running terraform init:

```
│ Error: Duplicate local value definition

│ on ..\subscription_infra_map\locals.tf line 2, in locals:
│ 2: lock_modes = {
│ 3: no_delete = "CanNotDelete"
│ 4: read_only = "ReadOnly"
│ 5: }

│ A local value named "lock_modes" was already defined at ..\subscription_infra_map\locals.locks.tf:2,3-5,4. Local value names must be unique within a module.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.