Skip to content

Commit

Permalink
SCALRCORE-19846 [API_BRANCH]
Browse files Browse the repository at this point in the history
  • Loading branch information
penja committed Aug 16, 2021
1 parent d169a85 commit f7b212e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalr/resource_scalr_module.go
Expand Up @@ -82,7 +82,7 @@ func resourceScalrModuleCreate(d *schema.ResourceData, meta interface{}) error {
scalrClient := meta.(*scalr.Client)

vcsRepo := d.Get("vcs_repo").([]interface{})[0].(map[string]interface{})
vcsOpt := &scalr.ModuleVCSRepoOptions{
vcsOpt := &scalr.ModuleVCSRepo{
Identifier: *scalr.String(vcsRepo["identifier"].(string)),
}
if path, ok := vcsRepo["path"].(string); ok && path != "" {
Expand Down

0 comments on commit f7b212e

Please sign in to comment.