Skip to content

Commit

Permalink
Fix go code spacing in configuration-a-resource.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylevin authored Mar 4, 2024
1 parent 902acfe commit 6d2bf28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/configuring-a-resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,11 @@ case, we would need to provide the full path. Referencing to a [kms key] from

```go
func Configure(p *config.Provider) {
p.AddResourceConfigurator("aws_ebs_volume", func(r *config.Resource) {
r.References["kms_key_id"] = config.Reference{
Type: "github.com/crossplane-contrib/provider-tf-aws/apis/kms/v1alpha1.Key",
}
})
p.AddResourceConfigurator("aws_ebs_volume", func(r *config.Resource) {
r.References["kms_key_id"] = config.Reference{
Type: "github.com/crossplane-contrib/provider-tf-aws/apis/kms/v1alpha1.Key",
}
})
}
```

Expand Down

0 comments on commit 6d2bf28

Please sign in to comment.