The error indicates your yaml file is not properly formatted.
Try checking your indentation somewhere. Maybe something is not well
aligned or given more spacing somewhere.
Generally it is two(2) spacing something of the sort. Let me know if the
error still persists. For instance take a look at your

beta_settings:
   cloud_sql_instances: ****************************

It is way much indented than the others

Best,
Mua


On Mon, 16 Mar 2020 at 22:06 Ben Abdesslem Sarah <
[email protected]> wrote:

> Hello,
>
> This doesn't work. I don't know what to put there on the instance_tag.
> And I have read so many times the Google documentation about Network
> settings.
>
> C:\Users\someproject>gcloud app deploy
> ERROR: (gcloud.app.deploy) An error occurred while parsing file:
> [C:\Users\someproject\app.yaml]
>   in "C:\Users\someproject\*app.yaml", line 42, column 17*
>
> The line 42 is *instance_tag: aef-instance*
>
>  network:
>   instance_tag: aef-instance
>   name: mynetwork
>   subnetwork_name: subnetwork1
>
> If someone could help me, it will be really nice. Thank you in advance !
>
> Le lun. 16 mars 2020 à 12:36, 'methkal' via Google App Engine <
> [email protected]> a écrit :
>
>> *instane_tag* can be anything of your choice. you can use for example
>> "aef-instance". this tag is assigned to each instance of the service upon
>> its creation.
>> The network *name *has to be the short name not the resource path  (for
>> example, *mynetwork* rather than 
>> *https://www.googleapis.com/compute/v1/projects/my-project/global/networks/mynetwork
>> <https://www.googleapis.com/compute/v1/projects/my-project/global/networks/mynetwork>*
>> ).
>> For *subnetwork_name *use also the short name like *subnetwork1* rather
>> than 
>> *https://www.googleapis.com/compute/v1/projects/my-project/global/networks/default/subnetworks/subnetwork1
>> <https://www.googleapis.com/compute/v1/projects/my-project/global/networks/default/subnetworks/subnetwork1>*
>>
>> check this page for more information
>> <https://cloud.google.com/appengine/docs/flexible/php/reference/app-yaml#network_settings>
>>
>> if that doesn't work. can you post the error that you receive after these
>> modifications?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/16fbc448-a895-4e94-8a08-ec913b1181e2%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/16fbc448-a895-4e94-8a08-ec913b1181e2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/CAFgsb9a2yQDdk5PV8-m0cDTrDgJZTQT3k%2Bn2CrOgRsE5NTTkOw%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CAFgsb9a2yQDdk5PV8-m0cDTrDgJZTQT3k%2Bn2CrOgRsE5NTTkOw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAHAhu-jvcp4hSaKSTymNmtJCDRf6sPN%2BSDsuWCS_x4gL9Pv9Lw%40mail.gmail.com.
  • [google-appengi... Ben Abdesslem Sarah
    • [google-ap... 'George (Cloud Platform Support)' via Google App Engine
    • [google-ap... Ben Abdesslem Sarah
      • [googl... 'methkal' via Google App Engine
        • Re... Ben Abdesslem Sarah
          • ... Mua Rachmann
            • ... Ben Abdesslem Sarah
              • ... Mua Rachmann
              • ... 'Pierre-Yves (Google Cloud Support)' via Google App Engine
                • ... Ben Abdesslem Sarah
                • ... 'Pierre-Yves (Google Cloud Support)' via Google App Engine
                • ... Ben Abdesslem Sarah
                • ... 'noverlyjoseph' via Google App Engine

Reply via email to