File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 11PROVIDER_SHORT_NAME = shoreline
2- ENV_VARS_NAME_PREFIX = SHORELINE
3- SHORELINE_RETRIES = 5
2+ DEFAULT_USER_NAME = Shoreline
43DEFAULT_TRIGGER_SOURCE = shoreline
5- SHORELINE_DEBUG = false
6- TF_LOG_FILE = /tmp/tf_provider.log
74TF_ACC = 0
8- RENDERED_PROVIDER_NAME = Shoreline
5+ ENV_VARS_NAME_PREFIX = SHORELINE
96PROVIDER_PATH = registry.opentofu.org/shorelinesoftware/shoreline
10- DEFAULT_USER_NAME = Shoreline
7+ TF_LOG_FILE = /tmp/tf_provider.log
8+ RENDERED_PROVIDER_NAME = Shoreline
9+ SHORELINE_DEBUG = false
10+ SHORELINE_RETRIES = 5
Original file line number Diff line number Diff line change @@ -1251,6 +1251,17 @@ func NormalizeNotebookCells(cells *[]interface{}) {
12511251}
12521252
12531253func IsSecretAwareSupported (backendVersion VersionRecord ) bool {
1254+ if ! backendVersion .Valid {
1255+ var build struct {
1256+ Tag string `json:"tag"`
1257+ }
1258+ if err := json .Unmarshal ([]byte (backendVersion .Build ), & build ); err == nil {
1259+ return strings .HasPrefix (build .Tag , "private-" ) ||
1260+ strings .HasPrefix (build .Tag , "arm-private-" ) ||
1261+ strings .HasPrefix (build .Tag , "master-" )
1262+ }
1263+ }
1264+
12541265 if backendVersion .Major > 28 {
12551266 return true
12561267 }
You can’t perform that action at this time.
0 commit comments