File tree 4 files changed +21
-14
lines changed
4 files changed +21
-14
lines changed Original file line number Diff line number Diff line change
1
+ ```release-note:enhancement
2
+ firebase: added additional import formats for app resources, removed the need to supply duplicate projects in some cases
3
+ ```
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ serving traffic. Set to `DELETE` to delete the AndroidApp. Defaults to `DELETE`.
82
82
83
83
In addition to the arguments listed above, the following computed attributes are exported:
84
84
85
- * ` id ` - an identifier for the resource with format ` {{name }}`
85
+ * ` id ` - an identifier for the resource with format ` projects/{{project}}/androidApps/{{app_id }}`
86
86
87
87
* ` name ` -
88
88
The fully qualified resource name of the AndroidApp, for example:
@@ -112,10 +112,11 @@ This resource provides the following
112
112
AndroidApp can be imported using any of these accepted formats:
113
113
114
114
```
115
- $ terraform import google_firebase_android_app.default projects/{{project}}/androidApps/{{appId}}
116
- $ terraform import google_firebase_android_app.default {{project}}/{{appId}}
117
- $ terraform import google_firebase_android_app.default androidApps/{{appId}}
118
- $ terraform import google_firebase_android_app.default {{appId}}
115
+ $ terraform import google_firebase_android_app.default {{project}} projects/{{project}}/androidApps/{{app_id}}
116
+ $ terraform import google_firebase_android_app.default projects/{{project}}/androidApps/{{app_id}}
117
+ $ terraform import google_firebase_android_app.default {{project}}/{{project}}/{{app_id}}
118
+ $ terraform import google_firebase_android_app.default androidApps/{{app_id}}
119
+ $ terraform import google_firebase_android_app.default {{app_id}}
119
120
```
120
121
121
122
## User Project Overrides
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ serving traffic. Set to `DELETE` to delete the Apple. Defaults to `DELETE`.
92
92
93
93
In addition to the arguments listed above, the following computed attributes are exported:
94
94
95
- * ` id ` - an identifier for the resource with format ` {{name }}`
95
+ * ` id ` - an identifier for the resource with format ` projects/{{project}}/iosApps/{{app_id }}`
96
96
97
97
* ` name ` -
98
98
The fully qualified resource name of the App, for example:
@@ -118,10 +118,11 @@ This resource provides the following
118
118
AppleApp can be imported using any of these accepted formats:
119
119
120
120
```
121
- $ terraform import google_firebase_apple_app.default projects/{{project}}/iosApps/{{appId}}
122
- $ terraform import google_firebase_apple_app.default {{project}}/{{appId}}
123
- $ terraform import google_firebase_apple_app.default iosApps/{{appId}}
124
- $ terraform import google_firebase_apple_app.default {{appId}}
121
+ $ terraform import google_firebase_apple_app.default {{project}} projects/{{project}}/iosApps/{{app_id}}
122
+ $ terraform import google_firebase_apple_app.default projects/{{project}}/iosApps/{{app_id}}
123
+ $ terraform import google_firebase_apple_app.default {{project}}/{{project}}/{{app_id}}
124
+ $ terraform import google_firebase_apple_app.default iosApps/{{app_id}}
125
+ $ terraform import google_firebase_apple_app.default {{app_id}}
125
126
```
126
127
127
128
## User Project Overrides
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ serving traffic. Set to `DELETE` to delete the WebApp. Default to `ABANDON`
113
113
114
114
In addition to the arguments listed above, the following computed attributes are exported:
115
115
116
- * ` id ` - an identifier for the resource with format ` {{name }}`
116
+ * ` id ` - an identifier for the resource with format ` projects/{{project}}/webApps/{{app_id }}`
117
117
118
118
* ` name ` -
119
119
The fully qualified resource name of the App, for example:
@@ -142,9 +142,11 @@ This resource provides the following
142
142
WebApp can be imported using any of these accepted formats:
143
143
144
144
```
145
- $ terraform import google_firebase_web_app.default {{project}}/{{name}}
146
- $ terraform import google_firebase_web_app.default {{project}} {{name}}
147
- $ terraform import google_firebase_web_app.default {{name}}
145
+ $ terraform import google_firebase_web_app.default {{project}} projects/{{project}}/webApps/{{app_id}}
146
+ $ terraform import google_firebase_web_app.default projects/{{project}}/webApps/{{app_id}}
147
+ $ terraform import google_firebase_web_app.default {{project}}/{{project}}/{{app_id}}
148
+ $ terraform import google_firebase_web_app.default webApps/{{app_id}}
149
+ $ terraform import google_firebase_web_app.default {{app_id}}
148
150
```
149
151
150
152
## User Project Overrides
You can’t perform that action at this time.
0 commit comments