Skip to content

Commit

Permalink
chore: enphasize func usage image on new resource doc
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Brocaneli <marcus.brocaneli@wildlifestudios.com>
  • Loading branch information
Marcus Brocaneli committed Feb 28, 2023
1 parent 615535f commit ef9e279
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/add-new-resource-long.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ You can always check resource configurations of existing jet Providers as
further examples under `config/<group>/config.go` in their repositories.

_Please see [this figure] to understand why we really need 3 different
functions to configure external names and, it visualizes which is used how._
functions to configure external names and, it visualizes which is used how:_
![Alt text](./images/upjet-externalname.png)
_Note that, initially, GetIDFn will use the external-name annotation to set the terraform.tfstate id and, after that, it uses the terraform.tfstate id to update the external-name annotation. For cases where both values are different, both GetIDFn and GetExternalNameFn must be set in order to have the correct configuration._


### Cross Resource Referencing

Expand Down

0 comments on commit ef9e279

Please sign in to comment.